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

x/sandbox/deps.ts>Disposable

🦕 Create a temporary sandbox directory which is removed when the instance is disposed
Go to Latest
type alias Disposable
Re-export
import { type Disposable } from "https://deno.land/x/sandbox@v1.1.0/deps.ts";

Disposable has 'dispose()' method to dispose the resource

Type Parameters

optional
R extends Void = Void
definition: { dispose: () => R; }