mirror of
https://github.com/denoland/deno.git
synced 2025-02-13 17:25:28 -05:00
![Asher Gomez](/assets/img/avatar_default.png)
This change aims to replace all relative import specifiers targeted at `tests/util/std` with mapped ones (using a `deno.json` file). Towards updating the `std` git submodule.
5 lines
167 B
JavaScript
5 lines
167 B
JavaScript
import { delay } from "@std/async/delay.ts";
|
|
|
|
const worker = new Worker(import.meta.resolve("./main.js"), { type: "module" });
|
|
await delay(1_000);
|
|
worker.terminate();
|