You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same problem here. It would be great to have a 'ready' event for the worker so we know when we can begin posting data to it... or have the createWorker method run synchronously.
I'm finding that I need a timeout upwards of 1000ms otherwise if worker.postMessage(...) is called from within the worker script, it won't fire properly. This results in no error on SDK 2.0.2, however, on 2.1.0 it errors out with:
unrecognized selector sent to instance
on the line within the worker script calling the postMessage method.
Just fyi... I was following the example but it wasn't working... but when I did a setTimeout() with 1 millisecond for posting to the task, it worked.
Thanks btw -- this is great and what I've been waiting for for Titanium!
The text was updated successfully, but these errors were encountered: