event_t
Last updated
Last updated
Event usertype. An instance of this type can be found in .
Method
Adds a callback to the event.
Arguments
fn
function
Callback function. Arguments that are accepted by the function are dictated by the event instance.
Returns
Nothing.
Example
Method
Removes a callback from the event.
Arguments
fn
function
Callback function, that was earlier passed to the add()
function.
Returns
Nothing.
Example