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

x/proc/legacy/mod.ts>NoCloseReader

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
class NoCloseReader
implements [Deno.Reader], [Deno.Closer]
import { NoCloseReader } from "https://deno.land/x/proc@0.20.17/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>