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

Method startForegroundJob

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

Source from the content-addressed store, hash-verified

52 }
53
54 startForegroundJob() {
55 const key = process.hrtime().join('.')
56
57 this.clearDebounceTimer()
58
59 this.foregroundPool.set(key, true)
60
61 return key
62 }
63
64 wrapForegroundJob(wrappedFunction) {
65 const context = this

Callers 2

wrapForegroundJobMethod · 0.80
workQueue.jsFile · 0.80

Calls 1

clearDebounceTimerMethod · 0.95

Tested by

no test coverage detected