Skip to content

Tags: apollo79/evtemitter

Tags

v3.1.0

Toggle v3.1.0's commit message

v3.0.0

Toggle v3.0.0's commit message
fix: test failed

a test case that was listening to an event that was dispatched after a timeout failed. Changed the test case to await the resolve of the `pull` method

2.0.0

Toggle 2.0.0's commit message
add listeners / getListeners method

1.3.1.1

Toggle 1.3.1.1's commit message
change type of standard event record: `any` instead of `unknown`

1.3.1

Toggle 1.3.1's commit message
update to allow use without types

1.3.0

Toggle 1.3.0's commit message
auto run `deno fmt ${file}` on save

1.3.0.dev

Toggle 1.3.0.dev's commit message
make `emit` async and add emitSync method

- `emit` now waits for every listener to return and you can use it with `await`
- You can use `emitSync` to avoid waiting for each listener to return

1.2.0-dev

Toggle 1.2.0-dev's commit message
fix and extend EventEmitter class

- fix once method
- add publish / subscribe methods

1.1.0-dev

Toggle 1.1.0-dev's commit message
format and lint

1.0.0

Toggle 1.0.0's commit message
move EventEmitter to EventEmitter.ts and add tests