News for hackers. Stuff that matters.
Re:Announcing Trigger.io v2.0 by restelettedo on Monday July 29, 2013 @03:10PM (#6123180)
stringByEvaluatingJavaScriptFromString calls are still capped, at 10MB and 10 seconds - that might be up from the 5 seconds you experienced.

Our approach to that is two-fold:

We try not to send big chunks of data through the bridge (we pass file around by reference, for example): in our initial prototypes a couple of years ago we passed image data base64 encoded and that definitely didn't scale!

Secondly, stringByEvaluatingJavaScriptFromString just gets data into the JS engine's scope - the processing of those received messages is done in a separate thread of execution. By that I mean started by an event, not true multi-threading of course!

Re:Announcing Trigger.io v2.0 by ggoodale on Monday July 29, 2013 @04:05PM (#6123532)
Thanks for clarifying! Makes sense.