mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-12 05:22:13 +00:00
The content here needs to be fleshed out some more, but this commit is intended to get the skeleton in place.
10 lines
302 B
Markdown
10 lines
302 B
Markdown
# `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](../events/index.md).
|