Skip to content

allemanfredi/callback-emitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

callback-emitter

callback-emitter allows to manage the communication through events implemented with callbacks

import

const { CallbackEmitter } = require('../index');

emit

CallbackEmitter.emit('event' , 'hello world');

on

CallbackEmitter.on('event' , console.log);

About

callback-emitter it allows to manage the communication through events implemented with callbacks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published