react-code-dataset / next.js /test /e2e /instrumentation-hook /with-async-node-page /instrumentation.node.js
Download next.js/test/e2e/instrumentation-hook/with-async-node-page/instrumentation.node.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 197 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/instrumentation-hook/with-async-node-page/instrumentation.node.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/instrumentation-hook/with-async-node-page/instrumentation.node.js
-
curl -L -o instrumentation.node.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/instrumentation-hook/with-async-node-page/instrumentation.node.js
197 Bytes
| /*global globalThis*/ | |
| const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)) | |
| export async function register() { | |
| await sleep(1000) | |
| globalThis.instrumentationFinished = true | |
| } | |