Type Alias EffectReturn<D, V>

EffectReturn<D, V>: void | EffectCleanup<D, V>

The type of return value of the effect function.

Type Parameters

  • D

    The type of the state machine definition.

  • V

    The type of state value.