Cancel

data class Cancel(val effectId: EffectId) : Reaction<Nothing>

Cancel a running effect by its EffectId. The coroutine of the Effect is canceled. Nothing happens if no effect with the given id exists, or if the effect has terminated already.

Constructors

Link copied to clipboard
constructor(effectId: EffectId)

Properties

Link copied to clipboard