Project

em-emitter

0.0
No commit activity in last 3 years
No release in over 3 years
You can use em-emitter to communicate with other objects in the Eventmachine reactor by subscribing to events and emitting them with encapsulated pieces of data.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

em-emitter

Global event emitter and receiver for sending events across objects inside the Eventmachine reactor.

You can use em-emitter to communicate with other objects in the Eventmachine reactor by subscribing to events and emitting them with encapsulated pieces of data.

The filtering allows for Ruby hashes to be used and for objects to have fine grained control over what events they want to receive.

The global emitter decouples all objects from each other and works by including the EM::Emitter::Observable module into any classes that wish to subscribe or emit events.

Requirements

em-emitter has been run and tested on Ruby 1.9.3 with Eventmachine 1.0.0. You are welcome to try it on other versions of Ruby.

Installation

To install em-emitter use ruby gems by typing:

gem install em-emitter --pre

Note: This is a beta release of the first version so it is still under heavy development. Hence the need to append --pre to the installation command.

Usage

TBD

License

em-emitter is licensed under the MIT License and can be used and edited for open source or commercial projects.