mirror of
https://github.com/apple/swift-async-algorithms
synced 2026-11-27 04:44:21 +00:00
Audit pass on Sendable conformances and requirements (#272)
* Audit pass on Sendable conformances and requirements * A slightly cleaner mark for Sendability of OrderedSet * Remove flags for strict mode
This commit is contained in:
1 parent
156bb4bf49
commit
a42b72ad84
7 files changed
+19
-10
No files matched your search
@@ -18,7 +18,7 @@
|
||||
/// and is resumed when the next call to `next()` on the `Iterator` is made, or when `finish()`/`fail(_:)` is called
|
||||
/// from another Task. As `finish()` and `fail(_:)` induce a terminal state, there is no more need for a back pressure management.
|
||||
/// Those functions do not suspend and will finish all the pending iterations.
|
||||
public final class AsyncThrowingChannel<Element, Failure: Error>: AsyncSequence, @unchecked Sendable {
|
||||
public final class AsyncThrowingChannel<Element: Sendable, Failure: Error>: AsyncSequence, @unchecked Sendable {
|
||||
public typealias Element = Element
|
||||
public typealias AsyncIterator = Iterator
|
||||
|
||||
|
||||
Reference in new issue
Block a user