1.0.15 • Published 8 years ago

@nodeart/observable v1.0.15

Weekly downloads
2
License
MIT
Repository
-
Last release
8 years ago

bitHound Overall Score bitHound Dependencies bitHound Code

DEPRECATED

Please, use https://www.npmjs.com/package/@nodeart/event_emitter instead.

Methods:

observable.on(eventName, ...fns)
observable.once(eventName, ...fns)
observable.unbind(eventName, ...fns) 
observable.unbindAll()
// One can remove some functions from listeners array,
// but to remove all listeners (read 'remove event'), one can pass
// only eventName to .unbind method
observable.emit(eventName, ...args)

Features: 1) any number of functions can be put as listeners 2) chaining available 3) written with ES6 syntax 4) can be used in node.js and in browser

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago