await
- void await(IRCPlugin plugin, Fiber fiber, IRCEvent.Type type)
- void await(IRCPlugin plugin, IRCEvent.Type type, Flag!"yield" yield)
- void await(IRCPlugin plugin, Fiber fiber, IRCEvent.Type[] types)
- void await(IRCPlugin plugin, IRCEvent.Type[] types, Flag!"yield" yield)
- void await(IRCPlugin plugin, void delegate(IRCEvent) dg, IRCEvent.Type type)
- void await(IRCPlugin plugin, void delegate(IRCEvent) dg, IRCEvent.Type[] types)
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.