MCPcopy Index your code
hub / github.com/nodejs/node / poller

Method poller

lib/internal/test_runner/test.js:476–485  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

474 }, timeout);
475
476 const poller = async () => {
477 try {
478 const result = await condition();
479
480 done(noError, result);
481 } catch (err) {
482 cause = err;
483 pollerId = setTimeout(poller, interval);
484 }
485 };
486
487 poller();
488 return promise;

Callers

nothing calls this directly

Calls 3

conditionFunction · 0.50
doneFunction · 0.50
setTimeoutFunction · 0.50

Tested by

no test coverage detected