Nemanja Scepanovic
09/28/2020, 7:55 AMCanellationException would this completable deferred’s job be automatically completed or not? If not, what is the best way of making it cooperative?
Thanks 🙂Daniele Segato
09/28/2020, 9:16 AMawait() will receive a cancellation exception if that happens.
I'm not sure if I answered your questionNemanja Scepanovic
09/28/2020, 10:02 AMaraqnid
09/28/2020, 10:47 AMNemanja Scepanovic
09/28/2020, 10:49 AMNemanja Scepanovic
09/28/2020, 10:50 AMcomplete or completeExceptionally will the invokeOnCompletion be called?araqnid
09/28/2020, 10:52 AMCompletableDeferred(parent=coroutineContext[Job]!!)), then the parent job being cancelled will automatically complete it with CancellationExceptionNemanja Scepanovic
09/28/2020, 11:04 AMaraqnid
09/28/2020, 11:04 AMNemanja Scepanovic
09/28/2020, 11:05 AM