betfsm.Callback_Condition

Bases: Condition

checks wether a callback function returns True.

__init__(event, cb)

Parameters:
  • event

    event to return when callback returns true

  • cb (Callable[[Dict], bool]) –

    callback fun(Blackboard) -> bool, will be called to check for the condition.

callback_Condition does never consumes the event of cb(bb)==True