EventMachine.off

A function for removing listeners from the state event.

struct EventMachine(State_, T = void delegate())
version(D_Ddoc)
void
off
(
State state
)
if (
is(typeof(State_.init)) &&
State_.min != State_.max
&&
isCallable!T
)

Parameters

state

The state whose event to remove from.

listeners EventType.ListenerType[]

The listeners to remove.

See Also

subscribed.event.Event.append

Meta