MCPcopy Create free account
hub / github.com/nodejs/node / throwIfBuildingSnapshot

Function throwIfBuildingSnapshot

lib/internal/v8/startup_snapshot.js:31–35  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

29}
30
31function throwIfBuildingSnapshot(reason) {
32 if (isBuildingSnapshot()) {
33 throw new ERR_NOT_SUPPORTED_IN_SNAPSHOT(reason);
34 }
35}
36
37const deserializeCallbacks = [];
38let deserializeCallbackIsSet = false;

Callers 1

constructorMethod · 0.85

Calls 1

isBuildingSnapshotFunction · 0.85

Tested by

no test coverage detected