Optional
clearOptional
onBy default any errors caused by listeners will be thrown unless an error handler is specified here. For example, specifying console.error as the handler will send it to the console instead of throwing. You may want to inject a different error handler here.
Optional
remainingThe remaining number of publishes that will emit to listeners. When this number is zero all listeners are cleared and none can be added.
Optional
reverseWhen true, events will be published in reverse order.
Generated using TypeDoc
When true, will clear listeners after every publish. Useful for events that will only occur once.