unawait

Dequeues a Fiber from being called whenever the next parsed and triggering IRCEvent matches any of the passed IRCEvent.Type types.

Parameters

plugin IRCPlugin

The current IRCPlugin.

fiber Fiber

Fiber to dequeue from being executed when the next IRCEvent of type type comes along.

types IRCEvent.Type[]

The kinds of IRCEvent that should trigger the passed awaiting fiber, in an array with elements of type IRCEvent.Type.

See Also

Meta