MCPcopy Create free account
hub / github.com/nodejs/node / wait

Function wait

test/fixtures/wpt/performance-timeline/performanceobservers.js:25–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23// Waits for performance.now to advance. Since precision reduction might
24// cause it to return the same value across multiple calls.
25function wait() {
26 var now = performance.now();
27 while (now === performance.now())
28 continue;
29}
30
31// Ensure the entries list is sorted by startTime.
32function checkSorted(entries) {

Callers 3

runAndBreatheFunction · 0.50

Calls 1

nowMethod · 0.80

Tested by

no test coverage detected