ProtecteddispatcherProtected ReadonlymetaProtected ReadonlymetaProtectedprotectedProtectedsorterProtected ReadonlysubscribersRemoves all subscribers from the given event, or from all events if an eventName is not provided.
OptionaleventName: stringProtectedcreateEmits an event with the given name and arguments.
Optionalmeta: MetadataProtectedemitBus related events can't be emitted from emit, so this method is needed for those events.
Returns an iterator of all [Identifier, EventSubscriber] pairs.
ProtectedgenerateReturns the dispatcher for this bus' subscribers.
Returns a readonly metadata collection of this object, if any.
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.
ProtectedperformSets the order in which subscribers are executed.
Subscribes a list of EventSubscriber.
Unsubscribes an unprotected EventSubscriber.
Unsubscribes a protected EventSubscriber.
Returns an iterator of all EventSubscribers.
StaticcreateOptionalmetaFactory: MetadataFactoryStaticcreateOptionalmetaFactory: MetadataFactory
An object that holds methods for subscribing to and emitting events, and getting information about the subscribers and subscribed events.