Skip to content

Call

CallOn

Bases: StrEnum

Special conditions to use as @input_port.subscribe(argument).

NOT_MATCHED_BY_ANY_CALL

NOT_MATCHED_BY_ANY_CALL = 'NOT MATCHED BY ANY CALLS'

Call when a message is not matched by any other call

PORT_INIT

PORT_INIT = 'PORT INIT'

Call after port is initially opened

SubscribedCall

Wrapper object created for subscribed callable.

conditions

conditions: None | tuple[tuple, dict] = conditions

Message match conditions for call

statistics

statistics: deque = deque(maxlen=20)

Last 20 call execution durations in milliseconds