@universal-packages/background-jobs-redis v1.0.20
Background Jobs Redis
Redis queue for universal-background-jobs.
Install
npm install @universal-packages/background-jobs-redis
npm install @universal-packages/background-jobs
RedisQueue
Just pass this engine to the Jobs and Worker instances to enable it to use redis as the queue system.
import { Jobs } from '@universal-packages/universal-background-jobs'
import { RedisQueue } from '@universal-packages/universal-background-jobs-redis'
const jobs = new Registry({ queue: 'redis', queueOptions: { host: 'localhost' } })
await registry.prepare()
Options
RedisQueue
takes the same options as the redis queue standalone interface.
Additionally takes the following ones:
globalClient
String
If the redis client lives in a global variable, name it here.
Typescript
This library is developed in TypeScript and shipped fully typed.
Contributing
The development of this library happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving this library.
License
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
4 months ago
4 months ago
4 months ago
8 months ago
8 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
11 months ago