Skip to content

quarterpast/event-signals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

event-signals

Turn EventEmitters into signals.

var eventSignal = require('event-signals');
var emitter = new process.EventEmitter;

var signal = eventSignal(emitter, 'foo');
signal.add(console.log);

emitter.emit('foo', 'bar', 'baz'); // logs "bar baz"

Licence

MIT

About

Turn EventEmitters into signals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published