Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
EventBus library is a traceable, extendable and minimalist event bus implementation for Elixir with built-in event store and event watcher based on ETS. It allows basic pub/sub for internal process communication. It is designed for low memory footprint and speed.
EventBus comes with an efficient solution to internal process communication. Unlike other EventBus implementations, EventBus doesn't deliver the event data directly to its subscribers. It delivers the identifier of the event and topic name which can be queued with minimal memory footprint. With this behavior, subscriber query the event data when they are ready to process the event.
This wiki includes documentation and samples related to the
event_bus library and its behaviors.
Table of Contents
- 1: Installing Library Package
- 2: Creating/Registering Topics
- 3: Emitting/Dispatching an Event
- 4: Creating Simple Event Consumers/Listeners/Subscribers
- 5: Subscribing Consumer/Listener/Subscriber for a Topic