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

Function m

test/parallel/test-perf-hooks-timerify-histogram-async.mjs:9–11  ·  view source on GitHub ↗
(a, b = 1)

Source from the content-addressed store, hash-verified

7
8const histogram = createHistogram();
9const m = async (a, b = 1) => {
10 await sleep(10);
11};
12const n = timerify(m, { histogram });
13assert.strictEqual(histogram.max, 0);
14for (let i = 0; i < 10; i++) {

Callers

nothing calls this directly

Calls 1

sleepFunction · 0.50

Tested by

no test coverage detected