wilddragon-site/node_modules/next/dist/server/app-render/instant-validation/stream-utils.d.ts
2026-04-17 15:51:01 -04:00

7 lines
501 B
TypeScript
Executable file

import type { Readable } from 'node:stream';
/**
* When we abort a staged render, we can still provide react with more chunks from later phases
* to use for their debug info. This will not cause more contents to be rendered.
*/
export declare function createNodeStreamWithLateRelease(partialChunks: Array<Uint8Array>, allChunks: Array<Uint8Array>, releaseSignal: AbortSignal): Readable;
export declare function createNodeStreamFromChunks(chunks: Array<Uint8Array>, signal?: AbortSignal): Readable;