vite-plugin-react-server
Version:
Vite plugin for React Server Components (RSC)
8 lines • 414 B
TypeScript
import type { StreamMetrics } from "./types.js";
/**
* Creates a transform stream that collects metrics from the input stream
* @param stream The stream to collect metrics from
* @returns A promise that resolves with the metrics when the stream ends
*/
export declare function collectStreamMetrics(stream: any | NodeJS.ReadableStream): Promise<StreamMetrics>;
//# sourceMappingURL=collectStreamMetrics.d.ts.map