createWorker function
Creates a Worker using `new Worker().
Implementation
Worker createWorker(String filename, [WorkerOptions? options]) =>
callConstructor(worker.Worker, [filename, options]);
Creates a Worker using `new Worker().
Worker createWorker(String filename, [WorkerOptions? options]) =>
callConstructor(worker.Worker, [filename, options]);