/*
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 { Base, runOn, markType } from "igniteui-angular-core";
import { WorkItemExtensions } from "./WorkItemExtensions";
/**
 * @hidden
 */
export let Async_WhileHelper = /*@__PURE__*/ (() => {
    class Async_WhileHelper extends Base {
        constructor(a, b) {
            super();
            this.c = null;
            this.b = null;
            this.d = null;
            this.b = a;
            this.d = b;
            this.c = runOn(this, this.a);
        }
        a() {
            if (!this.b()) {
                return null;
            }
            return WorkItemExtensions.c(this.d(), this.c);
        }
    }
    Async_WhileHelper.$t = markType(Async_WhileHelper, 'Async_WhileHelper');
    return Async_WhileHelper;
})();
