Optionaloptions: null | number | EventPublisherOptionsOptionalfinalizer: () => voidGets 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_Adds 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).
Optionaloptions: 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).
Optionaloptions: EventPublisherOptions
The event dispatcher.