/*! * name: async-primitives * version: 1.7.0 * description: A collection of primitive functions for asynchronous operations * author: Kouji Matsui (@kekyo@mi.kekyo.net) * license: MIT * repository.url: https://github.com/kekyo/async-primitives.git * git.commit.hash: 9472fbd5310b92690d84aaafb897429a04c013c5 */ export interface LogicalContext { readonly id: symbol; readonly data: Map; } export declare const createLogicalContext: (id: symbol) => LogicalContext; export declare let currentLogicalContext: LogicalContext; export declare const setCurrentLogicalContext: (context: LogicalContext) => void; export interface LogicalContextAdjustment { readonly contextToUse: LogicalContext; contextAfter: LogicalContext; } export declare const trampoline: (adjustment: LogicalContextAdjustment, callback: (...args: T) => any, thisArg?: any, ...args: T) => any; export declare const prepare: () => void; //# sourceMappingURL=logical-context.d.ts.map