event-async-emitter
v0.0.4
Published
Asynchronous event communication
Downloads
2
Maintainers
Readme
event-async-emitter
install npm install event-async-emitter --save
let EventAsync = require('event-async-emitter')
EventAsync.on('xxx', (data) => {
})
EventAsync.fire('xxx', data)
or
let eventAsync = new EventAsync()
eventAsync.fire('xxx', data)
eventAsync.on('xxx')