0.1.47 • Published 3 days ago

@trenskow/async-event-emitter v0.1.47

Weekly downloads
-
License
BSD-2-Clause
Repository
github
Last release
3 days ago

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.45

3 days ago

0.1.46

3 days ago

0.1.47

3 days ago

0.1.41

14 days ago

0.1.42

14 days ago

0.1.43

14 days ago

0.1.44

14 days ago

0.1.40

14 days ago

0.1.38

14 days ago

0.1.39

14 days ago

0.1.37

14 days ago

0.1.36

2 months ago

0.1.30

2 months ago

0.1.31

2 months ago

0.1.32

2 months ago

0.1.33

2 months ago

0.1.34

2 months ago

0.1.35

2 months ago

0.1.27

2 months ago

0.1.28

2 months ago

0.1.29

2 months ago

0.1.26

2 months ago

0.1.25

2 months ago

0.1.24

3 months ago

0.1.22

4 months ago

0.1.23

4 months ago

0.1.20

10 months ago

0.1.21

10 months ago

0.1.18

11 months ago

0.1.19

11 months ago

0.1.14

11 months ago

0.1.15

11 months ago

0.1.16

11 months ago

0.1.17

11 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

3 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