UNPKG

gmll

Version:

A generic launcher core for building custom launchers

9 lines (8 loc) 251 B
import { Worker } from "worker_threads"; /** * @param options options to initalize a worker * @returns a fully created worker instance */ export function makeWorker(options) { return new Worker(new URL("./get.js", import.meta.url), options); }