MCPcopy Index your code
hub / github.com/CacheControl/json-rules-engine / delay

Function delay

test/acceptance/acceptance.js:57–59  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

55 let lowPrioritySpy
56
57 function delay (value) {
58 return new Promise(resolve => setTimeout(() => resolve(value), 5))
59 }
60
61 function setup (options = {}) {
62 const engine = new Engine()

Callers 1

setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…