Hi, is there a way to also intercept when a corout...
# coroutines
n
Hi, is there a way to also intercept when a coroutine suspends. I got it working for resume with the CoroutineInterceptor. The reason why I need this is for instructing the logging framework with fields (https://logback.qos.ch/manual/mdc.html) for logging.
e
It resumes when intercepted continuation gets
resume
invocation, it suspends when that
resume
invocation returns, so you do MDC save/load around delegate call to
resume
from your interceptor
n
oh nice, thanks for the quick response!