Example #1
0
        public bool moveNext(IEnumerator enumerator, UIWidgetsCoroutine parent)
        {
            if (this._current.isDone)
            {
                var current = this._current;
                this._current = null;

                if (current.lastError != null)
                {
                    parent.stop(current.lastError);
                    return(false);
                }

                parent.lastResult = current.lastResult;
                return(enumerator.MoveNext());
            }

            return(true);
        }