await

Queues a Fiber to be called whenever the next parsed and triggering IRCEvent matches any of the passed IRCEvent.Type types. Overload that implicitly queues [core.thread.fiber.Fiber.getThis()|Fiber.getThis()].

Parameters

plugin IRCPlugin

The current IRCPlugin.

types IRCEvent.Type[]

The kinds of IRCEvent that should trigger this implicit awaiting fiber (in the current context), in an array with elements of type IRCEvent.Type.

yield bool

Whether or not to immediately yield the fiber.

See Also