Michael Long
Jul 8, 2024

--

Not buying it, Task { foo() } illustrates the complexity that's occurring.

Yes, foo() is just a function call.

But `go foo()` is hiding just as much complexity behind the scenes

What's the equivalent to `let x = await foo()` ? I seldom do a `fire and forget` task in which I don't care about the result.

--

--

Michael Long
Michael Long

Written by Michael Long

I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.

Responses (1)