0.1.3 • Published 1 year ago

evolutty v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Evolutty

NPM downloads Build Status Maintainability Test Coverage

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

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago