PromiseHelper class

Properties

fromError
fromResult
whenAll

Property Details

fromError

static fromError: (error: string) => Promise<TResult>

Property Value

(error: string) => Promise<TResult>

fromResult

static fromResult: (result: TResult) => Promise<TResult>

Property Value

(result: TResult) => Promise<TResult>

whenAll

static whenAll: (promises: Promise<any>[]) => Promise<boolean>

Property Value

(promises: Promise<any>) => Promise<boolean>[]