Does anyone know what the the sentence "Note that the resulting value of launchIn is not used and the provided scope takes care of cancellation." means in the description of
launchIn
in the documentation. Does this mean the returned job cannot be used to cancel it?
f
Francesc
05/23/2023, 3:51 PM
I believe that the
the resulting value
part refers to the collected value from the flow, as the doc indicates, this is equivalent to
collect()
where the value is dropped.
You can hold onto the returned