await

Queues a void delegate(IRCEvent) delegate to be called whenever the next parsed and triggering const IRCEvent matches the passed IRCEvent.Type types. Overload that takes an array of types.

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

Parameters

plugin IRCPlugin

The current IRCPlugin.

dg void delegate

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

types IRCEvent.Type[]

An array of the kinds of IRCEvents that should trigger the passed awaiting delegate.

See Also