Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.
/ event_dart Public archive

A simple and tiny event emitter with broad source code documentation (75%).

License

Notifications You must be signed in to change notification settings

vxern/event_dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create an event emitter and listen for events

Usage

You can use strings to identify the event, and provide additional data separately:

// to subscribe:
emitter.on('success', (String r) => doStuff(r));
// to emit:
emitter.emit('success', result_var);

About

A simple and tiny event emitter with broad source code documentation (75%).

Topics

Resources

License

Stars

Watchers

Forks

Languages