method ReadableBase.prototype.take
Usage in Deno
import { ReadableBase } from "node:stream";
ReadableBase.prototype.take(limit: number,options?: Pick<ArrayOptions, "signal">,): Readable
This method returns a new stream with the first limit chunks.
optional
options: Pick<ArrayOptions, "signal">
Readable
a stream with limit chunks taken.