On Jul 25, Henry Minsky wrote:
[snip]
> In LzInstantiator, there are two queues, makeQ and tricklingQ...
> What I don't understand is what is the difference between these queues. It
> looks like eventually both of them are passed to makeSomeViews, which in
> both cases does a time-limited amount of work. It looks like in checkQ,
> the tricklingQ gets priority over the makeQ, but I don't understand the
> big picture here...

The purpose here is to make it so that views which are created by trickle
instantiation (views marked as initstage="late") which in turn create
views (e.g. subviews) also get treated as low priority. 

The makeQ has priority over the trickleQ:
LzInstantiator.checkQ = function ( ){
    if ( ! this.makeQ.length ) {
    ...
    } else {
      ... this.makeSomeViews( this.makeQ ,this.timeout );


A
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to