News for hackers. Stuff that matters.
Re:Highlights of new technologies introduced at WWDC 2021 by guacaswole on Tuesday June 08, 2021 @06:17AM (#27432761)
I wondered the same thing actually. After I read about async await I thought “Well, what’s the point in Combine then?”
Re:Highlights of new technologies introduced at WWDC 2021 by akmarinov on Tuesday June 08, 2021 @12:57PM (#27437724)
It’s your choice - you want Rx - you do Rx. Everyone gets something.
Re:Highlights of new technologies introduced at WWDC 2021 by myko on Wednesday June 09, 2021 @10:24AM (#27448216)
Yes 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.