3 ms·
I wondered the same thing actually. After I read about async await I thought “Well, what’s the point in Combine then?”
by guacaswole 5y ago
I wondered the same thing actually. After I read about async await I thought “Well, what’s the point in Combine then?”
- akmarinov 5y agoIt’s your choice - you want Rx - you do Rx. Everyone gets something.
- myko 5y agoYes but my question is more about what tradeoffs should I be looking for to decide which to use. There does not seem to be a simple way to bridge the worlds, so deciding early is probably necessary. From what I'm gathering I should stick to Rx (Combine) when I have multiple related tasks or want to fire off changes in response to events, whereas async/await is useful for one-off asynchronous tasks like most web requests? I'm really not sure.