MCPcopy
hub / github.com/fastify/fastify / stepIn

Function stepIn

test/toolkit.js:9–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7 let iReject
8
9 function stepIn () {
10 if (done) {
11 iReject(new Error('Unexpected done call'))
12 return
13 }
14
15 if (--count) {
16 return
17 }
18
19 done = true
20 iResolve()
21 }
22
23 const patience = new Promise((resolve, reject) => {
24 iResolve = resolve

Callers 3

helper.jsFile · 0.85
stream.2.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected