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

x/proc/legacy/mod.ts>NoCloseReader

A better way to work with processes in Deno.
Go to Latest
class NoCloseReader
implements [Deno.Reader], [Deno.Closer]
import { NoCloseReader } from "https://deno.land/x/proc@0.21.5/legacy/mod.ts";

A Reader/Closer that suppresses the close() method on the underlying reader.

Constructors

new
NoCloseReader(reader: Deno.Reader)

Methods

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