Skip to content

Callback

source

Callback(
   trigger_dict, priority = 1, properties = None
)

General Purpose Callback

Callback objects can be registered at a scheduler to be executed on specific triggers they are also sortable by priority

Args

  • trigger_dict : a dictionary mapping triggers to functions to be executed
  • properties (List[str]) : a list of properties required by this callback
  • priority : int value which dictates callback execution priority (lower values take priority)