Lines Matching refs:close
83 dir.close(common.mustSucceed());
138 await dir.close();
216 dir.close();
222 assert.throws(() => dir.close('not function'), invalidCallbackObj);
226 // Check first call to close() - should not report an error.
229 await dir.close();
230 await assert.rejects(() => dir.close(), dirclosedError);
265 // Check that concurrent read() + close() operations don't do weird things.
269 const promise2 = dir.close();
280 dir.close(common.mustCall((error) => {
289 assert.rejects(dir.close(), dirclosedError).then(common.mustCall());