https://github.com/adonisjs/events
Event emitter with asynchronous events.
https://github.com/adonisjs/events
bundled-with-core emitter emittery
Last synced: over 1 year ago
JSON representation
Event emitter with asynchronous events.
- Host: GitHub
- URL: https://github.com/adonisjs/events
- Owner: adonisjs
- License: mit
- Created: 2019-05-26T17:31:06.000Z (about 7 years ago)
- Default Branch: develop
- Last Pushed: 2024-08-31T08:43:33.000Z (almost 2 years ago)
- Last Synced: 2025-02-21T03:06:55.850Z (over 1 year ago)
- Topics: bundled-with-core, emitter, emittery
- Language: TypeScript
- Homepage: https://docs.adonisjs.com/guides/emitter
- Size: 553 KB
- Stars: 20
- Watchers: 8
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# @adonisjs/events
[![gh-workflow-image]][gh-workflow-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url]
## Introduction
AdonisJS events is an implementation of the event emitter built on top of [emittery](https://github.com/sindresorhus/emittery). Alongside defining event listeners as inline callbacks, you can also bind modules to events and define events as classes.
## Official Documentation
The documentation is available on the [AdonisJS website](https://docs.adonisjs.com/guides/emitter)
## Contributing
One of the primary goals of AdonisJS is to have a vibrant community of users and contributors who believes in the principles of the framework.
We encourage you to read the [contribution guide](https://github.com/adonisjs/.github/blob/main/docs/CONTRIBUTING.md) before contributing to the framework.
## Code of Conduct
In order to ensure that the AdonisJS community is welcoming to all, please review and abide by the [Code of Conduct](https://github.com/adonisjs/.github/blob/main/docs/CODE_OF_CONDUCT.md).
## License
AdonisJS events is open-sourced software licensed under the [MIT license](LICENSE.md).
[gh-workflow-image]: https://img.shields.io/github/actions/workflow/status/adonisjs/events/test.yml?style=for-the-badge
[gh-workflow-url]: https://github.com/adonisjs/events/actions/workflows/test.yml "Github action"
[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
[typescript-url]: "typescript"
[npm-image]: https://img.shields.io/npm/v/@adonisjs/events.svg?style=for-the-badge&logo=npm
[npm-url]: https://npmjs.org/package/@adonisjs/events "npm"
[license-image]: https://img.shields.io/npm/l/@adonisjs/events?color=blueviolet&style=for-the-badge
[license-url]: LICENSE.md "license"