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

Method constructor

lib/internal/async_local_storage/run_scope.js:12–16  ·  view source on GitHub ↗
(storage, store)

Source from the content-addressed store, hash-verified

10 #disposed = false;
11
12 constructor(storage, store) {
13 this.#storage = storage;
14 this.#previousStore = storage.getStore();
15 storage.enterWith(store);
16 }
17
18 dispose() {
19 if (this.#disposed) {

Callers

nothing calls this directly

Calls 2

getStoreMethod · 0.45
enterWithMethod · 0.45

Tested by

no test coverage detected