Files
klz-cables.com/.pnpm-store/v10/files/d9/1d1e862bb779b95525b4bbb5ca97702f6224c20d200afac34b46b89f79773c187f7eb79befc7a725b545069425a53c96ff4279551e85c91713ec4805c57d4e
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

50 lines
1.2 KiB
Plaintext

import { Client } from '../client';
import { Scope } from '../scope';
import { AsyncContextStrategy } from './types';
interface Layer {
client?: Client;
scope: Scope;
}
/**
* This is an object that holds a stack of scopes.
*/
export declare class AsyncContextStack {
private readonly _stack;
private _isolationScope;
constructor(scope?: Scope, isolationScope?: Scope);
/**
* Fork a scope for the stack.
*/
withScope<T>(callback: (scope: Scope) => T): T;
/**
* Get the client of the stack.
*/
getClient<C extends Client>(): C | undefined;
/**
* Returns the scope of the top stack.
*/
getScope(): Scope;
/**
* Get the isolation scope for the stack.
*/
getIsolationScope(): Scope;
/**
* Returns the topmost scope layer in the order domain > local > process.
*/
getStackTop(): Layer;
/**
* Push a scope to the stack.
*/
private _pushScope;
/**
* Pop a scope from the stack.
*/
private _popScope;
}
/**
* Get the stack-based async context strategy.
*/
export declare function getStackAsyncContextStrategy(): AsyncContextStrategy;
export {};
//# sourceMappingURL=stackStrategy.d.ts.map