Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ run
Function
run
benchmark/async_hooks/async-local-storage-run.js:9–13 ·
view source on GitHub ↗
(store, n)
Source
from the content-addressed store, hash-verified
7
});
8
9
async
function
run(store, n) {
10
for
(
let
i = 0; i < n; i++) {
11
await
new
Promise((resolve) => store.run(i, resolve));
12
}
13
}
14
15
function
main({ n }) {
16
const
store =
new
AsyncLocalStorage();
Callers
1
main
Function · 0.70
Calls
1
run
Method · 0.45
Tested by
no test coverage detected