shiva-eventbus

Event bus with before/after method plugins for Lua 5.4

$ luarocks install shiva-eventbus

Priority-ordered event system for the Shiva framework.
Handlers can be registered with numeric priority (lower fires first).
Before-plugins can short-circuit method calls via EventBus.halt(value),
returning a sentinel that skips the original and passes the value
directly to after-plugins. After-plugins chain return values.

Versions

0.1.0-118 hours ago0 downloads

Dependencies

lua >= 5.4

Manifests