basalt / http/src / nodeStreamFrom
Function: nodeStreamFrom()
> nodeStreamFrom(pump, first): Readable
Defined in: http/src/stream.ts:252
A Node Readable over a pump whose first chunk has already been pulled. Destroying it (the client disconnected, the response was torn down) closes the pump, which destroys the original source.
Parameters
pump
first
Uint8Array<ArrayBufferLike> | null
Returns
Readable