https://kotlinlang.org logo
Title
s

Susheel

03/30/2021, 6:15 PM
If I run into an NPE on that line, how would I fix it?
NPE means that the coroutine context doesn't have a job at that point.
I could add a job to the dispatcher I'm assigning to that code to but how would I re-write the code below?
c

christophsturm

03/30/2021, 6:47 PM
i would ask in #ktor also I think its a bug that there is no useful error message when the job is not found
👍 1
s

Susheel

03/30/2021, 7:12 PM