(fn: (value: Awaited<T>, index: number) => void)
| 68 | } |
| 69 | |
| 70 | forEach(fn: (value: Awaited<T>, index: number) => void): Promise<void> { |
| 71 | return this.map(fn).then() |
| 72 | } |
| 73 | |
| 74 | reduce<U>(fn: (previousValue: U, currentValue: Awaited<T>, currentIndex: number, array: Awaited<T>[]) => U, initialValue: U): Promise<U> { |
| 75 | return this.promise.then(array => array.reduce(fn, initialValue)) |
no test coverage detected