Mapped event listener/emitter, listen to, and trigger events. (for single events use CEvent).
const evt = new CMappedEvent<bool>();evt.listen('evt', listener);evt.dispatch('evt', true);evt.remove('evt', listener); Copy
const evt = new CMappedEvent<bool>();evt.listen('evt', listener);evt.dispatch('evt', true);evt.remove('evt', listener);
Private
Optional
Generated using TypeDoc
Mapped event listener/emitter, listen to, and trigger events. (for single events use CEvent).
Example