* End watching. * * @public
()
| 192 | */ |
| 193 | |
| 194 | close() { |
| 195 | for (const key of Object.keys(this.watched)) this.stopWatching(key); |
| 196 | this.removeAllListeners(); |
| 197 | |
| 198 | return Promise.resolve(); |
| 199 | } |
| 200 | |
| 201 | /** |
| 202 | * On some platforms, as pointed out on the fs docs (most likely just win32) |
no test coverage detected