/** * The PromiseCreator is used to work with code that creates a lot of promises. * In some situations (e.g. file system access) only a few of the created promises can actually do work * all other promises must "wait" until, the browser finally executes the promise. All these promises * create some overhead. This class is used to prevent that, by delaying the creation of each promise * until the next() function is called. Typically the next function is not called until the previous * (one or more) promises have been executed. */ export declare class PromiseCreator { results: any[]; error: any; items: (() => JQuery.Promise)[]; currentItem: number; aborted: boolean; constructor(items: (() => JQuery.Promise)[]); hasNext(): boolean; next(): JQuery.Promise; createPromise(): JQuery.Promise; protected _createPromise(): JQuery.Promise; protected _addResults(index: number, result: any[]): void; abort(): void; } //# sourceMappingURL=PromiseCreator.d.ts.map