This repository has been archived on 2026-05-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
novarix-networks-homepage/node_modules/next/dist/server/app-render/instant-validation/stream-utils.d.ts
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

8 lines
501 B
TypeScript

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;