5.0.5 • Published 6 years ago

scraper.js-queue-bull v5.0.5

Weekly downloads
6
License
ISC
Repository
github
Last release
6 years ago

A queue plugin for Scraper.js that is backed by Bull

Build Status Code Climate Test Coverage Issue Count Dependency Status

Methods

process(function)

The supplied function will be called for each item in the queue one at a time.

add(queueItem, opts)

Add's a queueItem.

count()

Returns a promise that will resolve to the remaining items in the queue.

close()

Close everything.

Environment variables

PRIORITY_QUEUE, if defined, a priority queue will be used REDIS_PORT, the port for Redis REDIS_HOST, the host for Redis

Todo

  • More documentation.
  • Tests.
  • Remove environment variables, and pass these things in from scraper.js.

Changelog

2.0.0 - Remove options, extract them from a queueItem instead 3.0.0 - Add options to process() 3.0.2 - Add removeOnComplete to save space in Redis

5.0.5

6 years ago

5.0.4

7 years ago

5.0.3

7 years ago

5.0.2

7 years ago

5.0.1

7 years ago

5.0.0

7 years ago

4.0.8

7 years ago

4.0.7

7 years ago

4.0.6

7 years ago

4.0.5

7 years ago

4.0.4

7 years ago

4.0.3

7 years ago

4.0.2

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

3.0.4

7 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago