method Dir.prototype.close
Overload 1
#Dir.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 #
Promise<void> Overload 2
#Dir.prototype.close(cb: NoParamCallback): voidParameters #
#cb: NoParamCallback Return Type #
void