0.1.3 • Published 2 years ago
evolutty v0.1.3
Evolutty
evolutty is an asynchronous message dispatcher for concurrent tasks processing, with the following features:
- Encourages decoupling from message providers and consumers
- Easy to extend and customize
- Easy error handling, including integration with sentry
- Easy to create one or multiple services
- Generic Handlers
- Bull integration
:information_source: Currently, only BullMQ is supported
Installation
npm install evolutty
Usage
import { BullMQRouter, EvoluttyManager } from 'evolutty';
export class MyHandler extends BullMQHandler {
async handle(content: object, metadata: object): Promise<boolean> {
return true;
}
}
const routers = [
{
routeType: BullMQRouter,
handler: MyHandler,
queueName: 'myQueue'
}
];
const manager = new EvoluttyManager(routers);
manager.start();
License
Evolutty is MIT
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Authors
- Paulo Tinoco - Initial work - paulo-tinoco