Re: Does entire IncrementalCommand run in one tick?

2010-06-10 Thread Thomas Broyer
On 10 juin, 01:25, macagain rgk...@gmail.com wrote: Do all steps of an IncrementalCommand run in one tick, or does it return control to the js event loop in between steps, thereby allowing other commands on the deferred queue to run in between steps?  e.g. List results = some list returned

Does entire IncrementalCommand run in one tick?

2010-06-09 Thread macagain
Do all steps of an IncrementalCommand run in one tick, or does it return control to the js event loop in between steps, thereby allowing other commands on the deferred queue to run in between steps? e.g. List results = some list returned from a service; DeferredCommand.addCommand(new

Re: Does entire IncrementalCommand run in one tick?

2010-06-09 Thread Vitali Lovich
No, it cannot creep. Each execute callback runs as 1 uninterrupted thread. On Wed, Jun 9, 2010 at 4:25 PM, macagain rgk...@gmail.com wrote: Do all steps of an IncrementalCommand run in one tick, or does it return control to the js event loop in between steps, thereby allowing other commands