Hi Ashley, is there any way to use importScripts("https://scripturl.js")
in runtime?
Currently I get this error when trying to use importScripts() in Worker Mode:
TypeError: Failed to execute 'importScripts' on 'WorkerGlobalScope': Module scripts don't support importScripts().
As the use of workers is increasing, I would like to give support for workers in Firebase.
Firebase includes functions in its object and uses a circular structured object. So, it cant be Posted to the runtime from domside, and hence, cant be used from runtime directly. Even if it could I dont think we could run Firebase in different threads.
If I completely resort to using domside only for Firebase functions, I think async functions will stop supporting the use of "Wait for previous actions to complete" action in the eventsheet and thus events using this Wait action will fail.
Or am I wrong here? Can we use "Wait for previous actions to complete" for async scripts running in domside.js?
Thankyou.