dir.close(callback)
-
callback
<Function>err
<Error>
异步地关闭目录的底层资源句柄。后续读取将导致错误。
¥Asynchronously close the directory's underlying resource handle. Subsequent reads will result in errors.
资源句柄关闭后将调用 callback
。
¥The callback
will be called after the resource handle has been closed.