Hacker News new | ask | show | jobs
by storoj 399 days ago
IMO async/await and Combine are two completely different things.

What is the alternative to Combine's CurrentValueSubject or combineLatest()?

2 comments

  > What is the alternative to Combine's CurrentValueSubject or combineLatest()?
combine latest et al can be found in async algorithms from apple*

https://github.com/apple/swift-async-algorithms

* though current value subject is not there its not hard to make one if you need it

AsyncExtensions implements many Combine-like patterns in structured concurrency.