alchemist-interfaces / it.unibo.alchemist.core.interfaces / Scheduler / removeReaction

removeReaction

abstract fun removeReaction(r: Reaction<T>!): Unit

Removes a reaction from the structure. If the reaction is not present, nothing is done and an Exception is thrown.

Parameters

r - Reaction<T>!: the reaction to be removed