[−][src]Crate events_emitter
Rust implementation of Node.JS event
- Implements most of the interfaces and functions of Node.JS Events.
- Specific work conditions may vary.
Example
extern crate events_emitter; use events_emitter::EventEmitter; let events = EventEmitter::new(); events.on("hello", |x| { println!("{}", x) }); events.emit("hello", "word"); events.remove("hello");
Structs
EventEmitter | |
Listener |