JavaPoly.js: JavaPoly.js is a library that polyfills native JVM support in the browser. It allows you to import your existing Java code, and invoke the code directly from Javascript.
I'm trying to use JavaPoly in a web worker but import statements aren't yet supported in browsers. Is there a way to use JavaPoly in a Web Worker without imports?
Thank you!
Will
The code I'm trying to use is:
var worker = new Worker('path/on/server/to/src/webworkers/JavaPolyWorker.js');
Hi there!
I'm trying to use JavaPoly in a web worker but
import
statements aren't yet supported in browsers. Is there a way to use JavaPoly in a Web Worker withoutimport
s?Thank you!
Will
The code I'm trying to use is: