await

Queues a Fiber to be called whenever the next parsed and triggering IRCEvent matches the passed IRCEvent.Type type. Overload that implicitly queues [core.thread.fiber.Fiber.getThis()|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 bool

Whether or not to immediately yield the fiber.

See Also