Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/proc/src/deps/streams.ts>Closer

A better way to work with processes in Deno.
Very Popular
Go to Latest
interface Closer
Re-export
import { type Closer } from "https://deno.land/x/proc@0.21.9/src/deps/streams.ts";

An abstract interface which when implemented provides an interface to close files/resources that were previously opened.

Methods

close(): void

Closes the resource, "freeing" the backing file/resource.