The type of the items in the BucketQueue
.
Calls each of the listeners registered for the specified event.
void
The name of the event to emit.
Rest
...args: Parameters<BucketQueueEventHandlers<T>[K]>The arguments to be passed to the event listeners.
Removes a listener function from the specified event.
void
The name of the event to remove the listener from.
The function to be removed from the listeners of the event.
Adds a listener function to the specified event.
void
The name of the event to add a listener for.
The function to be called when the event is emitted.
Generated using TypeDoc
An interface that defines the methods for an event emitter for the
BucketQueue
class.