rxswift-concurrency-bridge
Installation
SKILL.md
RxSwift ↔ Swift Concurrency Bridge
RxSwift 6.5+ has built-in support for bridging between reactive and async/await code. Never use withCheckedThrowingContinuation or withCheckedContinuation to manually wrap RxSwift subscriptions — the framework provides cleaner, safer APIs that handle disposal, error propagation, and completion correctly out of the box.
Manual continuations are error-prone: they can resume twice, leak subscriptions, or miss edge cases around completion vs. error delivery. The built-in APIs avoid all of these pitfalls.
Consuming RxSwift values in async/await
Iterating over an Observable's values
Use .values to get an AsyncThrowingStream you can iterate with for try await: