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