silverwolf-x/project / packages /next /src /server /app-render /after-task-async-storage.external.ts
silverwolf-x's picture
download
raw
736 Bytes
import type { AsyncLocalStorage } from 'async_hooks'
// Share the instance module in the next-shared layer
import { afterTaskAsyncStorageInstance as afterTaskAsyncStorage } from './after-task-async-storage-instance' with { 'turbopack-transition': 'next-shared' }
import type { WorkUnitStore } from './work-unit-async-storage.external'
export interface AfterTaskStore {
/** The phase in which the topmost `after` was called.
*
* NOTE: Can be undefined when running `generateStaticParams`,
* where we only have a `workStore`, no `workUnitStore`.
*/
readonly rootTaskSpawnPhase: WorkUnitStore['phase'] | undefined
}
export type AfterTaskAsyncStorage = AsyncLocalStorage<AfterTaskStore>
export { afterTaskAsyncStorage }

Xet Storage Details

Size:
736 Bytes
·
Xet hash:
0424276393ff02d6aee0332d547ebc4397aaeaad88ac3d93c9f0fd27d1964d62

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.