##// END OF EJS Templates
Added 'Attrs', 'Events' type parameters to DjxWidgetBase, typed 'on' and 'emit' methods
Added 'Attrs', 'Events' type parameters to DjxWidgetBase, typed 'on' and 'emit' methods

File last commit:

r2:8ec37bf1b4d1 default
r30:a46488b209e8 v1.0.0-rc14 default
Show More
DeferredList.d.ts
17 lines | 654 B | video/mp2t | TypeScriptLexer
import { Deferred } from "./Deferred";
interface DeferredList<T> extends Deferred<T[]> {
/**
* Gathers the results of the deferreds for packaging
* as the parameters to the Deferred Lists' callback
*/
gatherResults<T>(deferredList: DeferredList<any>): DeferredList<T>;
}
interface DeferredListConstructor {
/**
* Deprecated, use dojo/promise/all instead.
* Provides event handling for a group of Deferred objects.
*/
new <T>(list: T[], fireOnOneCallback?: boolean, fireOnOneErrback?: boolean, consumeErrors?: boolean, canceller?: (reason: any) => void): DeferredList<T>;
prototype: DeferredList<any>;
}