Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/io/readers.ts>MultiReader

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class MultiReader
implements [Deno.Reader]
import { MultiReader } from "https://deno.land/std@0.62.0/io/readers.ts";

Reader utility for combining multiple readers

Constructors

new
MultiReader(...readers: Deno.Reader[])

Properties

private
currentIndex: number
private
readonly
readers: Deno.Reader[]

Methods

read(p: Uint8Array): Promise<number | null>