0.1.36 • Published 24 days ago
@trenskow/async-event-emitter v0.1.36
async-event-emitter
A small library for asynchronous event emitters.
Usage
Below is an example on how to use.
import EventEmitter from '@trenskow/async-event-emitter';
const emitter = new EventEmitter();
emmiter.on('greeting', async (text) => {
console.info(text);
});
await emitter.emit('greeting', 'Hello, World!');
In the above example Hello, World!
will be output to the console.
License
See license in LICENSE
0.1.36
24 days ago
0.1.30
28 days ago
0.1.31
27 days ago
0.1.32
27 days ago
0.1.33
27 days ago
0.1.34
27 days ago
0.1.35
26 days ago
0.1.27
28 days ago
0.1.28
28 days ago
0.1.29
28 days ago
0.1.26
28 days ago
0.1.25
1 month ago
0.1.24
2 months ago
0.1.22
3 months ago
0.1.23
3 months ago
0.1.20
9 months ago
0.1.21
9 months ago
0.1.18
9 months ago
0.1.19
9 months ago
0.1.14
10 months ago
0.1.15
10 months ago
0.1.16
10 months ago
0.1.17
10 months ago
0.1.10
1 year ago
0.1.11
1 year ago
0.1.12
1 year ago
0.1.13
1 year ago
0.1.8
1 year ago
0.1.7
1 year ago
0.1.9
1 year ago
0.1.6
1 year ago
0.1.5
1 year ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.0
3 years ago
0.1.2
2 years ago
0.1.1
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago