Is it possible to change the CoroutineContext avai...
# ktor
a
Is it possible to change the CoroutineContext available in a route? I am intercepting the ApplicationPipeline (ktor-server intercept(ApplicationCallPipeline.MONITOR)) and try to change the CoroutineContext. So basically:
Copy code
withContext(existing + otherContextAddition) { proceed() }
I was kind of expecting this to be the context in the route that is matched. But it is always EmptyCoroutineContext... I am obviously misunderstanding how this should work, but what? 🙂 Is there some other way than interceptors?