Length should never be incorrect unless the program is interrupted.


On Mon, Mar 3, 2014 at 4:18 PM, jamessynge <notifications@github.com> wrote:

> In site/top/src/editor-debug.js:
>
> >  }
> >
> > -var highlighted = { };
> > +// The enter event is triggered the inside the call to a turtle command.
> > +// There is exactly one enter event for each debugId, and each corresponds
> > +// to exactly one call of the turtle method (with method and args as passed).
> > +// Enter is the first event triggered, and it is always matched by one exit.
> > +// Appear and resolve will appear between enter and exit if the action is
> > +// synchronous.  The "length" parameter indicates the number of appear
> > +// (and matching resolve) events to expect for this debugId.
>
> Does this mean it is a prediction for async actions? When is length
> incorrect?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/PencilCode/pencilcode-site/pull/35/files#r10229372>
> .
>