betfsm.Message
Bases: Generator
Message(msg="my_message") returns a State that displays a message Message(cb=function) returns a State that displays a message generated by the given function The argument name="..." specifies the name of the Message state.
__init__(name=None, *, msg=None, cb=None, logCategory='default')
Displays a message to the log.
| Parameters: |
|
|---|
warning
Only one of the arguments msg or cb can be specified
example
Message(lambda bb: f'{bb["some_key_in_blackboard"]=}' )