MCPcopy
hub / github.com/mongodb/node-mongodb-native / run

Function run

test/tools/cmap_spec_runner.ts:259–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

257 }, timeout);
258
259 function run() {
260 if (threadContext.poolEvents.filter(ev => getEventType(ev) === event).length >= count) {
261 clearTimeout(timeoutId);
262 return resolve();
263 }
264
265 threadContext.poolEventsEventEmitter.once('poolEvent', run);
266 }
267 run();
268 });
269 }

Callers 3

getTestOpDefinitionsFunction · 0.70
mainFunction · 0.50
mainFunction · 0.50

Calls 4

getEventTypeFunction · 0.85
onceMethod · 0.80
resolveFunction · 0.50
filterMethod · 0.45

Tested by

no test coverage detected