alib.eventbus

A library that provides an event bus with sections and channels.

$ luarocks install alib.eventbus

An event bus to implement the ability to subscribe both to events occurring in
all instances of classes(or named events), and separately for specific unique
instances. Create a subscription, when notifying subscribers,
the handler is given both access to the object that caused the event and
to additional parameters(event-data) from the event emitter context.
The main purpose is the ability to expand the standard behavior of objects due
to the ability to attach handlers to specific instances of objects.
But also with the ability to implement event subscriptions for all instances.

Versions

0.1.0-1313 days ago20 downloads

Dependencies

lua >= 5.1

Manifests