RxSwift v6.5.0 Release Notes
-
🚦 You can now use
await
onObservable
-conforming objects (as well asDriver
,Signal
,Infallible
,Single
,Completable
) using the following syntax:do { for value in try await observable.values { print(value) // Next event } // Completed here } catch { // Error event print("An error occurred:", error.localizedDescription) }
📚 Check out the full documentation for additional information: https://github.com/ReactiveX/RxSwift/blob/main/Documentation/SwiftConcurrency.md