betfsm.HTTPEvent_Condition

Bases: Condition

Check whether HTTP events come in

__init__(channel_name='betfsm', queue_size=10, max_age=0.5, consume=True)

Parameters:
  • channel_name (str, default: 'betfsm' ) –

    Name of the channel to listen to.

  • max_age (float, default: 0.5 ) –

    only HTTP event with an age less than max_age will be taken into account. The max_age is determined for each HTTPEvent_Condition separately.

  • consume

    whether or not to consume the HTTP Event