Directory handle object (supports async iteration)
for await (const ent of dir) { console.log(ent.name);} Copy
for await (const ent of dir) { console.log(ent.name);}
Readonly
Directory path
Get async iterator
Close directory
Read next directory entry (internal use)
Directory handle object (supports async iteration)
Example