Files
klz-cables.com/.pnpm-store/v10/files/e5/689468e689bdbebbaa5cd594b52f3c7714de379a2e061123395a2955416f54f91f5b6cbcdd860fa44954bfaf7581c823fc2ff8fcbfa3ecdd38436dc3206729
Marc Mintel 5397309103
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
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

41 lines
1.2 KiB
Plaintext

import { Context } from '../context/types';
import { Span } from './span';
import { SpanContext } from './span_context';
/**
* Return the span if one exists
*
* @param context context to get span from
*/
export declare function getSpan(context: Context): Span | undefined;
/**
* Gets the span from the current context, if one exists.
*/
export declare function getActiveSpan(): Span | undefined;
/**
* Set the span on a context
*
* @param context context to use as parent
* @param span span to set active
*/
export declare function setSpan(context: Context, span: Span): Context;
/**
* Remove current span stored in the context
*
* @param context context to delete span from
*/
export declare function deleteSpan(context: Context): Context;
/**
* Wrap span context in a NoopSpan and set as span in a new
* context
*
* @param context context to set active span on
* @param spanContext span context to be wrapped
*/
export declare function setSpanContext(context: Context, spanContext: SpanContext): Context;
/**
* Get the span context of the span if it exists.
*
* @param context context to get values from
*/
export declare function getSpanContext(context: Context): SpanContext | undefined;
//# sourceMappingURL=context-utils.d.ts.map