Optional
finalizer: (() => void)Optional
options: null | number | EventPublisherOptionsOptional
finalizer: (() => void)Protected
Readonly
_dispatcherProtected
Readonly
_postProtected
Readonly
_preReadonly
optionsGets the remaining number of publishes that will emit to listeners. When this number is zero all listeners are cleared and none can be added.
Sets the remaining number of publishes that will emit to listeners. A value of zero will clear all listeners.
Protected
_onAdds an event publisher to be triggered after the event is published.
Disposing the returned EventPublisher<T>
removes it from it's parent (this).
Adds an event publisher to be triggered after the event is published.
Disposing the returned EventPublisher<T>
removes it from it's parent (this).
Optional
options: EventPublisherOptionsAdds an event publisher to be triggered before the event is published.
Disposing the returned EventPublisher<T>
removes it from it's parent (this).
Adds an event publisher to be triggered before the event is published.
Disposing the returned EventPublisher<T>
removes it from it's parent (this).
Optional
options: EventPublisherOptionsGenerated using TypeDoc
The event dispatcher.