We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 195f679 commit 1eae4afCopy full SHA for 1eae4af
doc/api/fs.md
@@ -901,6 +901,9 @@ try {
901
}
902
```
903
904
+When using the async iterator, the {fs.Dir} object will be automatically
905
+closed after the iterator exits.
906
+
907
### `fsPromises.readdir(path[, options])`
908
<!-- YAML
909
added: v10.0.0
@@ -5119,6 +5122,9 @@ try {
5119
5122
5120
5123
5121
5124
5125
5126
5127
5128
#### `dir.close()`
5129
5130
added: v12.12.0
0 commit comments