2.1.2 • Published 7 months ago

ac-bootstrap-bull v2.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

AdmiralCloud Bull Queue List

This helper initialitzes Bull lists and helper functions and makes them available on a globally scoped variable.

Usage

const bullOptions = {
  activateListeners: true/false,
  worker: BatchProcessCollector, // optional module that has all worker functions available
  handlers: {
    'global:completed': BullHelper // optional module that reacts to global:completed events - functions in there must be named after the jobList name (e.g. sendEmail)
  },
  jobLists: [{
    jobList: 'sendEmail',
    enabled: true
  }, ...]
}

// acapi should be globally available throughout your app to access Bull functions
const acapi = {}
// make bull (and bull helper functions) available on acapi.bull
acapi.bull = acbBull(acapi)
// init the bull lists
acapi.bull.init(bullOptions, done)

TBC

2.1.2

7 months ago

2.1.1

9 months ago

2.1.0

10 months ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.14

2 years ago

2.0.1

2 years ago

1.0.13

2 years ago

2.0.0

2 years ago

1.0.12

3 years ago

1.0.5

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.1

4 years ago