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

Method snapshot

lib/internal/async_local_storage/async_hooks.js:68–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 }
67
68 static snapshot() {
69 return AsyncLocalStorage.bind((cb, ...args) => cb(...args));
70 }
71
72 disable() {
73 if (this.enabled) {

Calls 2

cbFunction · 0.50
bindMethod · 0.45

Tested by

no test coverage detected