Skip to main content

isStreamEnded

@h4ad/serverless-adapter > isStreamEnded

(function) isStreamEnded

Check if stream already ended

Signature:

export declare function isStreamEnded(stream: Readable | Writable): boolean;

Parameters

ParameterTypeDescription
streamReadable | WritableThe stream

Returns:

boolean