Files
kumomta/docs/reference/kumo/on.md
T
Wez Furlong bfe1d5f94b docs: add some basic reference info
The content here needs to be fleshed out some more, but this commit
is intended to get the skeleton in place.
2023-02-25 14:59:20 -07:00

302 B

kumo.on(EVENT, FUNCTION)

Register a handler for a named event.

EVENT can be any string, and FUNCTION can be any lua function or closure.

Only the most recently registered function for a given event will be used.

The possible events are listed in the events reference.