[Laszlo-dev] LzIdle.callOnIdle - always a bug?
Adam Wolff
adam at laszlosystems.com
Wed Aug 16 16:49:03 EDT 2006
I think the answer to this question is no. There are lots of cases where a
programmer may want to yield -- say in exectuing a time-consuming search.
callOnIdle is intended for exactly this purpose, where the cost of
registering and unregistering an event is too high to do on every idle
event.
A
On Aug 16, Antun Karlovac wrote:
> Do we treat every case where one has to use LzIdle.callOnIdle as a bug?
> It seems to me that the right thing to do is:
>
> - Document all scenarios where you must use LzIdle.callOnIdle.
> - Treat any case that's not documented as a bug.
>
> I didn't see any reference to it in the DGuide, nor the Wiki.
>
> -Antun
>
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>
More information about the Laszlo-dev
mailing list