why does `launch` exist if `async` can return Unit...
# coroutines
u
why does
launch
exist if
async
can return Unit?
u
still dont see why launch exists
g
Because they have different semantics, async throws exception on place where result is requested, launch throws if exception happened. Both make sense but for different cases, for launch do
run and forget
is fine, for async is not fine