We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17e8102 commit 1415a54Copy full SHA for 1415a54
RxSwift/Observable+Concurrency.swift
@@ -60,7 +60,7 @@ public extension AsyncSequence {
60
/// - returns: An `Observable` of the async sequence's type
61
func asObservable(detached: Bool = false) -> Observable<Element> {
62
Observable.create { observer in
63
- let taskBlock = {
+ let taskBlock: @Sendable () async -> Void = {
64
do {
65
for try await value in self {
66
observer.onNext(value)
0 commit comments