current commit
250525.11 · test: add test for async disposable worker thread
import * as common from '../common/index.mjs';
import { Worker } from 'node:worker_threads';

{
  // Verifies that the worker is async disposable
  await using worker = new Worker('for(;;) {}', { eval: true });
  worker.on('exit', common.mustCall());
}