In a non-`suspend` function (called by a coroutine...
# coroutines
n
In a non-
suspend
function (called by a coroutine) can I somehow access the
coroutineContext
? To be more specific, I'd like to access the
CoroutineName
for debugging reasons if specified.
e
without building your own dispatcher which stuffs it in a threadlocal, I don't believe so
👍🏻 1
n
@ephemient Thanks, you gave me an idea, and based on the documentation of
ThreadContextElement
maybe it is easier to implement than I thought 🙂