Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
19 lines
643 B
Plaintext
19 lines
643 B
Plaintext
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
|
const carrier = require('./carrier.js');
|
|
const scope = require('./scope.js');
|
|
|
|
/** Get the default current scope. */
|
|
function getDefaultCurrentScope() {
|
|
return carrier.getGlobalSingleton('defaultCurrentScope', () => new scope.Scope());
|
|
}
|
|
|
|
/** Get the default isolation scope. */
|
|
function getDefaultIsolationScope() {
|
|
return carrier.getGlobalSingleton('defaultIsolationScope', () => new scope.Scope());
|
|
}
|
|
|
|
exports.getDefaultCurrentScope = getDefaultCurrentScope;
|
|
exports.getDefaultIsolationScope = getDefaultIsolationScope;
|
|
//# sourceMappingURL=defaultScopes.js.map
|