Skip to main content
Module

x/disposable/mod.ts

🦕 Ensure a disposable resource is disposed in Deno
Latest
import * as disposable from "https://deno.land/x/disposable@v1.2.0/mod.ts";

Functions

f
using
deprecated
f
usingAll
deprecated

Ensure synchronous and/or asynchronous disposable resources are disposed

Ensure synchronous disposable resources are disposed

f
usingAllSync
deprecated

Ensure a synchronous or asynchronous disposable resource is disposed

Ensure a synchronous disposable resource is disposed

f
usingSync
deprecated

Type Aliases

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