decorator#

Module containing convenience event decorators.

An event is a function that is triggered by other events or by the simulation itself.

Functions

after([fn_or_class, name, event_type, ...])

Define an event that fires after a simulation step.

every([fn_or_class, name, event_type, ...])

Define an event that fires periodically.

once_at([fn_or_class, name, event_type, ...])

Define an event that fires once after a simulation step.