Promise.any
Less than 1 minute
Promise.any
Types
class AggregateError extends Error {
constructor(errors: Iterable<Error>, message?: string, { cause: any }?);
errors: Array<Error>;
message: string;
cause: any;
}
interface PromiseConstructor {
any<T>(promises: Iterable<Promise<T>>): Promise<T>;
}
Entry points
core-js/proposals/promise-any