wilddragon-site/node_modules/next/dist/server/app-render/async-local-storage.d.ts
2026-04-17 15:51:01 -04:00

4 lines
316 B
TypeScript
Executable file

import type { AsyncLocalStorage } from 'async_hooks';
export declare function createAsyncLocalStorage<Store extends {}>(): AsyncLocalStorage<Store>;
export declare function bindSnapshot<T>(fn: T): T;
export declare function createSnapshot(): <R, TArgs extends any[]>(fn: (...args: TArgs) => R, ...args: TArgs) => R;