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

std/node/_fs/_fs_dir.ts>default#close

Deno standard library
Go to Latest
method default.prototype.close
import { default } from "https://deno.land/std@0.101.0/node/_fs/_fs_dir.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>