Event
Noir.Classes.EventClass: NoirClass
Represents an event.
Initializes event class objects.
Fires the event, passing any provided arguments to the connections.
Connects a function to the event. A connection is automatically made for the function.
If connecting to an event that is currently being handled, it will be added afterwards and run the next time the event is fired.
Parameters
callback
: function
Returns
NoirConnection
Finalizes the connection to the event, allowing it to be run.
Used internally.
Parameters
connection
: NoirConnection
Connects a callback to the event that will automatically be disconnected upon the event being fired.
If connecting to an event that is currently being handled, it will be added afterwards and run the next time the event is fired.
Parameters
callback
: function
Returns
NoirConnection
Disconnects the provided connection from the event.
The disconnection may be delayed if done while handling the event.
Parameters
connection
: NoirConnection
Should only be used internally.
Disconnects the provided connection from the event immediately.
Parameters
connection
: NoirConnection
Last updated