0.1.51 • Published 5 days ago

@trenskow/async-event-emitter v0.1.51

Weekly downloads
-
License
BSD-2-Clause
Repository
github
Last release
5 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.50

5 days ago

0.1.51

5 days ago

0.1.49

5 days ago

0.1.48

16 days ago

0.1.45

1 month ago

0.1.46

1 month ago

0.1.47

1 month ago

0.1.41

1 month ago

0.1.42

1 month ago

0.1.43

1 month ago

0.1.44

1 month ago

0.1.40

1 month ago

0.1.38

1 month ago

0.1.39

1 month ago

0.1.37

1 month ago

0.1.36

3 months ago

0.1.30

3 months ago

0.1.31

3 months ago

0.1.32

3 months ago

0.1.33

3 months ago

0.1.34

3 months ago

0.1.35

3 months ago

0.1.27

3 months ago

0.1.28

3 months ago

0.1.29

3 months ago

0.1.26

3 months ago

0.1.25

3 months ago

0.1.24

4 months ago

0.1.22

5 months ago

0.1.23

5 months ago

0.1.20

11 months ago

0.1.21

11 months ago

0.1.18

12 months ago

0.1.19

12 months ago

0.1.14

1 year ago

0.1.15

1 year ago

0.1.16

1 year ago

0.1.17

1 year 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

2 years ago

0.1.5

2 years 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