Function Listener

UDA that can be used on a Plugin, informing it that the function will handle all events of type T.

Prototype

ListenerDef!T Listener(T)(
  EmitterOrder order = EmitterOrder.UNSPECIFIED
);

Parameters

NameDescription
T Event type to listen for