+8
-0
lines changedFilter options
+8
-0
lines changed Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
1
+
import * as common from '../common/index.mjs';
2
+
import { Worker } from 'node:worker_threads';
3
+
4
+
{
5
+
// Verifies that the worker is async disposable
6
+
await using worker = new Worker('for(;;) {}', { eval: true });
7
+
worker.on('exit', common.mustCall());
8
+
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4