Files
swift-nio/Sources/NIO
Nathan Harris 06fb45d07e Rename ELF.andAll(_:eventLoop:) to andAllSucceed(_🔛) and add ELF.andAllComplete (#803)
Motiviation:

After adding `ELF.whenAllComplete` the concept of "fail fast" and "fail slow" for reducing an array of future results together was introduced.

This commit adds that concepts with the `andAll* methods that act as simple completion notifications.

Modifications:

Rename `EventLoopFuture.andAll(_:eventLoop:)` to `andAllSucceed(_🔛)` to denote its "fail fast" nature, and to match Swift API guidelines.

Add new `EventLoopFuture.andAllComplete(_🔛)` for a "fail slow" companion.

Shift implementation of `whenAllComplete(_🔛)` to be usable without unnecessary allocations in `andAllComplete`

Result:

EventLoopFuture now has two methods for "flattening" arrays of EventLoopFuture into a single notification ELF
2019-02-06 09:16:48 +00:00
..
2019-01-21 21:26:56 +00:00
2018-09-27 11:32:43 +01:00
2019-02-01 15:34:59 +00:00
2018-12-07 21:15:34 +00:00
2018-12-07 21:15:34 +00:00
2019-01-31 16:41:55 +00:00
2018-12-07 21:15:34 +00:00