Removes all subscribers from the given event, or from all events if an eventName is not provided.
OptionaleventName: stringOptionalclearProtected: booleanEmits an event with the given name and arguments.
Optionalmeta: MetadataReturns an iterator of all [Identifier, EventSubscriber] pairs.
Returns the dispatcher for this bus' subscribers.
Returns this bus' emitter.
Returns the MetadataFactory for creating or populating Metadatas for event emits.
Returns a EventSubscriberCollection of all subscribed events.
Returns a readonly collection of all subscribers and their identifiers.
Returns whether the given subscriber is subscribed to the bus.
Returns an iterator of all Identifiers.
OptionalreturnOptionalvalue: anySets the order in which subscribers are executed.
Subscribes a list of EventSubscriber.
OptionalthrowOptionale: anyUnsubscribes an unprotected EventSubscriber.
Unsubscribes a protected EventSubscriber.
Returns an iterator of all EventSubscribers.
An EventBus whose events are emitted by an EventEmitter.