https://kotlinlang.org logo
Title
c

coder82

08/26/2019, 9:48 AM
Hi guys, in the KTOR documentation there is no info about coroutine scoping, in essence what's the scope the call is run into, what if I launch a coroutine within a call and then the whole call is timedout? will the parent cancel it? @cy I ask because I am afraid my coroutines will leak if I don't pay attention to this, even though I always try to fork everything on the context of the parent call, not global! @e5l
d

Dominaezzz

08/26/2019, 10:38 AM
Yes, cancellation works.
d

David Glasser

08/27/2019, 4:15 AM
The default coroutine scope provided to your interceptors is scoped to the call