1.0.15 • Published 7 years ago

@nodeart/observable v1.0.15

Weekly downloads
2
License
MIT
Repository
-
Last release
7 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

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago