betfsm.AlwaysOutcome

Bases: TickingState

__init__(name, outcome=None)

Returns a TickingState that always returns the same outcome.

Parameters:
  • name (str) –

    name of the Ticking state

  • outcome (str, default: None ) –

    outcome that will be returned (typically, but not necessarily: SUCCEED, CANCEL)