| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b819848 commit 7a92c3c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -905,6 +905,9 @@ try { | |||
| 905 | 905 | } | |
| 906 | 906 | ``` | |
| 907 | 907 | ||
| 908 | + When using the async iterator, the {fs.Dir} object will be automatically | ||
| 909 | + closed after the iterator exits. | ||
| 910 | + | ||
| 908 | 911 | ### `fsPromises.readdir(path[, options])` | |
| 909 | 912 | <!-- YAML | |
| 910 | 913 | added: v10.0.0 | |
@@ -5076,6 +5079,9 @@ try { | |||
| 5076 | 5079 | } | |
| 5077 | 5080 | ``` | |
| 5078 | 5081 | ||
| 5082 | + When using the async iterator, the {fs.Dir} object will be automatically | ||
| 5083 | + closed after the iterator exits. | ||
| 5084 | + | ||
| 5079 | 5085 | #### `dir.close()` | |
| 5080 | 5086 | <!-- YAML | |
| 5081 | 5087 | added: v12.12.0 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments