await

Queues a Fiber to be called whenever the next parsed and triggering IRCEvent matches the passed IRCEvent.Type type. Overload that implicitly queues Fiber.getThis.

Parameters

plugin IRCPlugin

The current IRCPlugin.

type IRCEvent.Type

The kind of IRCEvent that should trigger this implicit awaiting fiber (in the current context).

yield Flag!"yield"

Whether or not to immediately yield the Fiber.

See Also

Meta