Decoder events
new ()
read onlytype:E
Instace members
after ():SimpleEventSignal1<E, R>
Triggered after the signal
around ():SimpleEventSignal1<E, R>
Triggered after 'before' and after the 'signal'
before ():SimpleEventSignal1<E, R>
Triggered before the signal
dispatch (result:R):Void
Trigger the signal to execute any registered callback functions
Parameters:
result
The result object to pass to listener callback functions
hasListener (cb:R ‑> Void):Bool
Check if the callback is already registered to this signal
cb
The callback function to check
Returns:
true if the callback function is registered to this signal
listen (cb:R ‑> Void):Void
Register a callback to execute if the signal is dispatched
The callback function to execute
observe (cb:Void ‑> Void):Void
The callback function to register
once (cb:R ‑> Void):Void
Registers a callback to execute if the signal is dispatched Upon dispatch, the callback will automatically be unlistened
The callback function to execute once
unlisten (cb:R ‑> Void):Void
Unregister the callback from this signal
The callback function to unregister
unobserve (cb:Void ‑> Void):Void