[Laszlo-user] Concurrency?
P T Withington
ptw at openlaszlo.org
Mon Jun 12 14:37:17 EDT 2006
http://www.openlaszlo.org/lps-latest/docs/reference/lzidle.html
On 2006-06-12, at 14:05 EDT, Mark Engelberg wrote:
> Every time the user clicks on something in my Laszlo app, I check to
> see if a certain condition holds in order to trigger a new animation.
>
> The problem is that the test for this condition is fairly complex; it
> causes a noticeable delay each time the user clicks.
>
> What I'd like to do is have the interface respond right away. Then,
> spin off a separate thread to do the condition test. If it succeeds,
> then it will trigger the new animation. I don't mind if there's a
> delay before the animation appears, but the user interface really
> needs to do its basic response quickly to the user's clicks.
>
> Is there any way to do this in Laszlo? Is there any way to make a
> certain computation run concurrently, so as not to slow down to the
> interactivity?
>
> Thanks,
>
> Mark
> _______________________________________________
> Laszlo-user mailing list
> Laszlo-user at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
More information about the Laszlo-user
mailing list