Skip to main content
Module

std/node/fs.ts>Dir#close

Deno standard library
Go to Latest
method Dir.prototype.close
Re-export
import { Dir } from "https://deno.land/std@0.166.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>