Skip to content

Atlas

Compare
Choose a tag to compare
@freak4pc freak4pc released this 14 Jan 19:22
· 73 commits to main since this release

RxSwift 6.5.0 - Swift Concurrency is here! πŸŽŠπŸ’―

You can now use await on Observable-conforming objects (as well as Driver, Signal, Infallible, Single, Completable) using the following syntax:

do {
  for try await value in 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