method Dir.prototype.closeDir.prototype.close(): Promise<void>DeprecatedAsynchronously 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 TypePromise<void>Dir.prototype.close(cb: NoParamCallback): voidDeprecatedParameterscb: NoParamCallbackReturn Typevoid