EventMachine.go

Calls all the registered listeners in order. Can also be called using the alias go!#{stateName}, where the state name is a string.

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

Parameters

state

The state to transition to.

params EventType.ParamTypes

The param tuple to call the listener with.

Return Value

Type: void

An array of results from the listeners. If $(DDOC_PSYMBOL EventType.ReturnType) is void, then this function also returns void.

See Also

subscribed.event.Event.call

Meta