bsl.triggers.MockTrigger#

class bsl.triggers.MockTrigger(*, verbose=True)#

Mock trigger class.

Parameters

verbose (bool) – If True, display a logger.info message when a trigger is sent.

Attributes
verbose

Methods

signal(value)

Send a trigger value.

signal(value)#

Send a trigger value.

Parameters

value (int) – Value of the trigger.