mediator2

Event handling through channels

$ luarocks install mediator2

mediator2 allows you to subscribe and publish to a central object so
you can decouple function calls in your application. It's as simple as
mediator:addSubscriber({"channel"}, function). Supports namespacing, predicates, wildcards,
and more.

Based of the abandoned Olivine-Labs mediator_lua module (many fixes and updates)

Versions

2.0.0-110 days ago1 download
dev-1dev198 days ago1 download

Dependencies

lua >= 5.1

Manifests