* Apply a function to every element of the stream, forcing serial execution. * * @param f A function to apply to each stream element. Should return 'true' * to indicate that the stream should continue, or 'false' to cause it to * terminate.
(f: (value: T) => Promise<boolean>)
| 327 | * terminate. |
| 328 | */ |
| 329 | async serialForEach(f: (value: T) => Promise<boolean>): Promise<void> { |
| 330 | return this.serialMapAsync(f).resolveWhile(x => (x === true)); |
| 331 | } |
| 332 | |
| 333 | /** |
| 334 | * Groups elements into batches, represented as arrays of elements. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…