Module

std/node/fs.ts>Dir#close

Deno standard library
Go to Latest
method Dir.prototype.close
import { Dir } from "https://dotland.deno.dev/std@0.177.0/node/fs.ts";

Unlike Node, Deno does not require managing resource ids for reading directories, and therefore does not need to close directories when finished reading.

Parameters

optional
callback: (...args: any[]) => void

Returns

Promise<void>