betfsm.OrCondition

Bases: Condition

Combines condition1 and condition2 using OR.

Typically constructoed by applying the operator | to two objects.

  • Will not consume if the OR returns None.
  • Only one of the conditions is consumed.
  • condition1 is consumed if it returns a string, i.e. condition1 has priority.