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

x/denoexec/deps.ts>io.MultiReader

A higher level wrapper around https://doc.deno.land/builtin/stable#Deno.run
Latest
class io.MultiReader
implements [Deno.Reader]
import { io } from "https://deno.land/x/denoexec@v1.1.5/deps.ts";
const { MultiReader } = io;

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>