| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 195f679 commit 1eae4af
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -901,6 +901,9 @@ try { | |||
| 901 | 901 | } | |
| 902 | 902 | ``` | |
| 903 | 903 | ||
| 904 | + When using the async iterator, the {fs.Dir} object will be automatically | ||
| 905 | + closed after the iterator exits. | ||
| 906 | + | ||
| 904 | 907 | ### `fsPromises.readdir(path[, options])` | |
| 905 | 908 | <!-- YAML | |
| 906 | 909 | added: v10.0.0 | |
@@ -5119,6 +5122,9 @@ try { | |||
| 5119 | 5122 | } | |
| 5120 | 5123 | ``` | |
| 5121 | 5124 | ||
| 5125 | + When using the async iterator, the {fs.Dir} object will be automatically | ||
| 5126 | + closed after the iterator exits. | ||
| 5127 | + | ||
| 5122 | 5128 | #### `dir.close()` | |
| 5123 | 5129 | <!-- YAML | |
| 5124 | 5130 | added: v12.12.0 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments