UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

12 lines (11 loc) 357 B
import type { Readable } from "stream"; /** * @internal * @param stream - to be split. * @returns stream split into two identical streams. */ export declare function splitStream(stream: Readable): Promise<[Readable, Readable]>; /** * @internal */ export declare function splitStream(stream: ReadableStream): Promise<[ReadableStream, ReadableStream]>;