You're reading the documentation for a development version.
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)