Hey! Listen!
Hey_listen is a collection of event-dispatchers aiming to suit all needs!
Covering synchronous, parallel, and sync-prioritised dispatching to Closures, Enums, Structs, and every other type supporting trait-implementation.
View the examples-folder on how to use each dispatcher.
Everyone is welcome to contribute, check out the CONTRIBUTING.md for further guidance.
Example
Here is a quick example on how to use the event-dispatcher:
extern crate hey_listen;
extern crate parking_lot;
use ;
use Arc;
use Mutex;
Installation
Add this to your Cargo.toml:
[]
= "0.2.0"
= "^0.5.4"
and this to your crate's root:
extern crate hey_listen;
extern crate parking_lot;