/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import * as tslib_1 from "tslib";
import { Base, runOn, markType } from "igniteui-angular-core";
import { WorkItem } from "./WorkItem";
/**
 * @hidden
 */
var Async_WhileSliceHelper = /** @class */ (function (_super) {
    tslib_1.__extends(Async_WhileSliceHelper, _super);
    function Async_WhileSliceHelper(a, b) {
        var _this = _super.call(this) || this;
        _this.b = null;
        _this.c = null;
        _this.d = null;
        _this.b = a;
        _this.d = b;
        _this.c = runOn(_this, _this.a);
        return _this;
    }
    Async_WhileSliceHelper.prototype.a = function () {
        while (this.b()) {
            if (!this.d()) {
                return WorkItem.d(this.c, 2);
            }
        }
        return null;
    };
    Async_WhileSliceHelper.$t = markType(Async_WhileSliceHelper, 'Async_WhileSliceHelper');
    return Async_WhileSliceHelper;
}(Base));
export { Async_WhileSliceHelper };
//# sourceMappingURL=Async_WhileSliceHelper.js.map