Skip to content

Commit 9966097

Browse files
committed
Fix indentation in Task.detached conditional statement
1 parent 1415a54 commit 9966097

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

RxSwift/Observable+Concurrency.swift

+3-2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public extension AsyncSequence {
6565
for try await value in self {
6666
observer.onNext(value)
6767
}
68+
6869
observer.onCompleted()
6970
} catch is CancellationError {
7071
observer.onCompleted()
@@ -74,8 +75,8 @@ public extension AsyncSequence {
7475
}
7576

7677
let task: Task<Void, Never> = detached
77-
? Task.detached(operation: taskBlock)
78-
: Task(operation: taskBlock)
78+
? Task.detached(operation: taskBlock)
79+
: Task(operation: taskBlock)
7980

8081
return Disposables.create { task.cancel() }
8182
}

0 commit comments

Comments
 (0)