update

fun update(@Nonnull currentTime: Time, hasBeenExecuted: Boolean, @Nonnull environment: Environment<T, out Any>)

Updates the scheduling of this reaction.

Parameters

currentTime

the current Time of execution. This is mandatory in order to correctly compute the time shift of an already-scheduled reaction

hasBeenExecuted

true if the reaction have just been executed.

environment

the current environment