removeReaction

abstract fun removeReaction(r: Reaction<T>)

Removes a reaction from this node. The reaction is removed only in the node, but not in the Simulation scheduler, so the scheduler will continue to execute the reaction. To remove the reaction also in the scheduler (and stop to execute it), you have to call also the method reactionRemoved.

Parameters

r

the reaction to be removed