You're reading an pre-release version of this documentation.
For the latest stable release version, please have a look at master.

Sensitive API

You can register callback functions to be called on each delta-cycle of the simulation:

Sensitive functions

Description

forkSensitive { callback }

Register the callback code to be called at each delta-cycle of the simulation

forkSensitiveWhile { callback }

Register the callback code to be called at each delta-cycle of the simulation, while the callback return value is true (meaning it should be rescheduled for the next delta-cycle)