Skip to content

Commit 2cfb166

Browse files
authored
Task.select is no longer used and can potentially impact performance negatively (apple#217)
1 parent cc0621e commit 2cfb166

File tree

5 files changed

+0
-236
lines changed

5 files changed

+0
-236
lines changed

README.md

-5
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ This package is the home for these APIs. Development and API design take place o
5656
- [`Dictionary.init(_:uniquingKeysWith:)`](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/Collections.md): Creates a new dictionary from the key-value pairs in the given asynchronous sequence, using a combining closure to determine the value for any duplicate keys.
5757
- [`Dictionary.init(grouping:by:)`](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/Collections.md): Creates a new dictionary whose keys are the groupings returned by the given closure and whose values are arrays of the elements that returned each key.
5858
- [`SetAlgebra.init(_:)`](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/Collections.md): Creates a new set from an asynchronous sequence of items.
59-
60-
61-
#### Task management
62-
63-
- [`Task.select(_:)`](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/Select.md): Determine the first task to complete of a sequence of tasks.
6459

6560
#### Effects
6661

Sources/AsyncAlgorithms/AsyncAlgorithms.docc/AsyncAlgorithms.md

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ This package has three main goals:
3030
- <doc:Merge>
3131
- <doc:Reductions>
3232
- <doc:RemoveDuplicates>
33-
- <doc:Select>
3433
- <doc:Throttle>
3534
- <doc:Timer>
3635
- <doc:Zip>

Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/Select.md

-53
This file was deleted.

Sources/AsyncAlgorithms/TaskSelect.swift

-78
This file was deleted.

Tests/AsyncAlgorithmsTests/TestTaskSelect.swift

-99
This file was deleted.

0 commit comments

Comments
 (0)