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

Parameter

Type

Description

stream

Readable | Writable

The stream

Returns:

boolean