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 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 Flag!"yield"

Whether or not to immediately yield the Fiber.

See Also

Meta