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
14 lines
653 B
Plaintext
14 lines
653 B
Plaintext
import { Scope } from '../scope';
|
|
import { Span } from '../types-hoist/span';
|
|
/** Store the scope & isolation scope for a span, which can the be used when it is finished. */
|
|
export declare function setCapturedScopesOnSpan(span: Span | undefined, scope: Scope, isolationScope: Scope): void;
|
|
/**
|
|
* Grabs the scope and isolation scope off a span that were active when the span was started.
|
|
* If WeakRef was used and scopes have been garbage collected, returns undefined for those scopes.
|
|
*/
|
|
export declare function getCapturedScopesOnSpan(span: Span): {
|
|
scope?: Scope;
|
|
isolationScope?: Scope;
|
|
};
|
|
//# sourceMappingURL=utils.d.ts.map
|