Skip to content

Commit 7d7ee6f

Browse files
Update Sources/AsyncAlgorithms/AsyncShareSequence.swift
Co-authored-by: Pyry Jahkola <[email protected]>
1 parent 474e461 commit 7d7ee6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AsyncAlgorithms/AsyncShareSequence.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ where Base.Element: Sendable, Base: _SendableMetatype, Base.AsyncIterator: _Send
484484
}
485485
}
486486

487-
func emit(_ result: Result<Base.Element?, Error>) {
487+
func emit(_ result: Result<Base.Element?, Error>) {
488488
let (resumptions, limitContinuation, demandContinuation, cancelled) = state.withLock {
489489
state -> ([Resumption], UnsafeContinuation<Bool, Never>?, UnsafeContinuation<Void, Never>?, Bool) in
490490
var resumptions = [Resumption]()

0 commit comments

Comments
 (0)