method Dir.prototype.close
Jump to headingDir.prototype.close(): Promise<void>
Asynchronously close the directory's underlying resource handle. Subsequent reads will result in errors.
A promise is returned that will be fulfilled after the resource has been closed.
Return Type Jump to heading
Promise<void>
Jump to headingDir.prototype.close(cb: NoParamCallback): void
Parameters Jump to heading
Return Type Jump to heading
void