dir.close(callback)


异步地关闭目录的底层资源句柄。 后续读取将导致错误。

资源句柄关闭后将调用 callback

Asynchronously close the directory's underlying resource handle. Subsequent reads will result in errors.

The callback will be called after the resource handle has been closed.