Skip to content

Commit ae26222

Browse files
authored
Rework combineLatest to remove the Sendable constraint on the base iterator (#228)
# Motivation This follows the recent rework of the `merge` and `zip` algorithms where we dropped the `Sendable` constraint on the `BaseX.AsyncIterator`. This PR now removes the same constraint on `combineLatest`. # Modification This PR overhauls the implementation of `combineLatest` with the goal of changing these things: - Drop the `Sendable` constraint of the base `AsyncIterator`s - Only create a single `Task` # Result `combineLatest` now doesn't require the base `AsyncIterator` to be `Sendable`
1 parent ed0b086 commit ae26222

File tree

7 files changed

+1268
-368
lines changed

7 files changed

+1268
-368
lines changed

Sources/AsyncAlgorithms/AsyncCombineLatest2Sequence.swift

Lines changed: 0 additions & 309 deletions
This file was deleted.

Sources/AsyncAlgorithms/AsyncCombineLatest3Sequence.swift

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)