So I am a deep down in stack where I am writing so...
# coroutines
v
So I am a deep down in stack where I am writing something like TurboFilter for Logback. At this point I can't write suspend functions. How can I access something from coroutineScope.
o
depending on if it needs to be blocking or async. blocking use
runBlocking
, async just use a CoroutineScope object (create one and make sure it has the correct lifecycle for whatever you're doing)
v
I don't wanna do runBlocking since it's a filter and function needs to be highly performant