method ReadableBase.prototype.take
Jump to headingReadableBase.prototype.take(limit: number,options?: Pick<ArrayOptions, "signal">,): Readable
This method returns a new stream with the first limit chunks.
Parameters Jump to heading
Jump to headinglimit: number
the number of chunks to take from the readable.
optional
Jump to headingoptions: Pick<ArrayOptions, "signal">
Return Type Jump to heading
Readable
a stream with limit chunks taken.