importScripts return prompt not defined when I try to import the app.js
Is there any other way to call app object inside a worker?
The thread a worker runs in does not have access to the DOM that provides the java<==>JavaScript bridge.
It uses the NoDom engine which may or may not return at some time in the future.
I gave up trying to use workers in DS a long time ago but I'd be fascinated to see if they are any more straightforward now.
post message("MyFunctionInMainApp('Hi',"+new Date().get time()+");");