3.1.0 • Published 8 years ago

spit v3.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

spit

Spit is an event emitter that leverages asynchronous methods.

There are two key differences between it and the node.js core event emitter.

The emit() method returns a promise that will be resolved or rejected when all listeners have completed.

The on() or addListener() method accepts two parameters, an event name and a method that will receive all arguments that were emitted on that event. You may return a promise within the method if you need to do any asynchronous processing.

3.1.0

8 years ago

3.0.0

9 years ago

2.1.0

9 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.0

9 years ago