Spaces:
Paused
Paused
Download node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js from Huzaifa1313/Prof_app: direct link, hf CLI and curl.
- Browser
- Download file 657 Bytes
-
https://huggingface.co/spaces/Huzaifa1313/Prof_app/resolve/main/node_modules/%40opentelemetry/api/build/src/context/NoopContextManager.js
- Command line
-
hf download hf://spaces/Huzaifa1313/Prof_app/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js
-
curl -L -o NoopContextManager.js https://huggingface.co/spaces/Huzaifa1313/Prof_app/resolve/main/node_modules/%40opentelemetry/api/build/src/context/NoopContextManager.js
657 Bytes
| ; | |
| /* | |
| * Copyright The OpenTelemetry Authors | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| exports.NoopContextManager = void 0; | |
| const context_1 = require("./context"); | |
| class NoopContextManager { | |
| active() { | |
| return context_1.ROOT_CONTEXT; | |
| } | |
| with(_context, fn, thisArg, ...args) { | |
| return fn.call(thisArg, ...args); | |
| } | |
| bind(_context, target) { | |
| return target; | |
| } | |
| enable() { | |
| return this; | |
| } | |
| disable() { | |
| return this; | |
| } | |
| } | |
| exports.NoopContextManager = NoopContextManager; | |
| //# sourceMappingURL=NoopContextManager.js.map |