Mediator.emit

Calls all the registered listeners for the channel in order.

struct Mediator(params...)
version(D_Ddoc)
void
emit
(
string channel
)

Parameters

channel

The channel to emit a message to.

params EventType.ParamTypes

The param tuple to call the listeners 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