AIDC Toolkit / Core / Promisable
Type Alias: Promisable<T> ​
Promisable<
T> =T|Promise<T>
Defined in: type.ts:70
Promisable type. Extends a type by allowing a Promise of the same type. Typically used in abstract method declarations where the implementing class may or may not implement the method as asynchronous.
Type Parameters ​
T ​
T