Need to use `SecurityContext` or `ThreadLocal` on ...
# feed
h
Need to use
SecurityContext
or
ThreadLocal
on Kotlin Coroutines? You can use them thanks to
ThreadContextElement
. Read about it in this new part of Kotlin Coroutines: Deep Dive book and in this article by @marcinmoskala 👇 https://kt.academy/article/cc-coroutine-context#coroutines-and-thread-elements
👍 1
K 2
m
Great thanks to @Riccardo Lippolis, as mentioned in the article and the book 🙂
🫶 1