parry
parry copied to clipboard
suggestion pass worker code as blob
Did you investigate possibility to provide worker part as blob? Kinda:
new Worker(URL.createObjectURL(new Blob(workercode.toString()))
Potentially it could eliminate dependency on separate file for worker.
Yeah, made this a long time ago but that was originally how I wanted it however deno did not support that back then.
A contribution is welcome :D, otherwise I might only get to it far in the future :P.