await

Queues a void delegate(IRCEvent) delegate to be called whenever the next parsed and triggering const IRCEvent matches the passed IRCEvent.Type type.

Note: The delegate stays in the queue until a call to unawait it is made.

Parameters

plugin IRCPlugin

The current IRCPlugin.

dg void delegate
(
IRCEvent
)

Delegate to enqueue to be executed when the next const IRCEvent of type type comes along.

type IRCEvent.Type

The kind of IRCEvent that should trigger the passed awaiting delegate.

See Also

Meta