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

Use ReadableStream and WritableStream instead. Closer will be removed in v2.0.0.

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.