blob: 7a381e93980c1d9347726693fbc575d78e2d2f36 (
plain)
1
2
3
4
5
6
7
|
import specifiers from "./specifiers.ts";
// start importing, but close after waiting a short amount of time
specifiers.map((specifier) => import(specifier));
await new Promise((resolve) => setTimeout(() => resolve(), 20));
console.log(2);
self.close();
console.log("WILL NOT BE PRINTED");
|