MCPcopy Create free account
hub / github.com/dadi/api / constructor

Method constructor

dadi/lib/workQueue.js:4–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3class WorkQueue {
4 constructor() {
5 this.debounceTime = config.get('workQueue.debounceTime')
6 this.pollingTime = config.get('workQueue.pollingTime')
7
8 this.backgroundPool = []
9 this.foregroundPool = new Map()
10
11 this.startBackgroundQueue()
12 }
13
14 clearDebounceTimer() {
15 clearInterval(this.debounceTimer)

Callers

nothing calls this directly

Calls 2

startBackgroundQueueMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected