1.0.20 • Published 1 month ago

@universal-packages/background-jobs-redis v1.0.20

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

Background Jobs Redis

npm version Testing codecov

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

MIT licensed.

1.0.20

1 month ago

1.0.19

2 months ago

1.0.18

2 months ago

1.0.17

2 months ago

1.0.16

2 months ago

1.0.15

2 months ago

1.0.14

2 months ago

1.0.13

2 months ago

1.0.12

3 months ago

1.0.11

4 months ago

1.0.10

4 months ago

1.0.9

4 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

7 months ago

1.0.0

11 months ago