UNPKG

beequeue

Version:

A simple, fast, robust job/task queue, backed by Redis.

13 lines (11 loc) 293 B
# Express example This app receives a request, enqueues a job, waits for its results, then returns the results in the response. First run: ``` node worker.js ``` Then, with the worker running, run: ``` node web.js ``` Then visit [http://localhost:3000/run/2/3](http://localhost:3000/run/2/3)