<https://kotlinlang.slack.com/archives/C0BJ0GTE2/p...
# spring
d
awesome work
just curious how do we build the subscriber context (or coroutine context) in handlers/web filters in new world?
s
Thanks! For now we just use the one created by
CoroutineScope.mono
which is
EmptyCoroutineContext
, but we plan interop between Reactor and Coroutines context, see https://github.com/Kotlin/kotlinx.coroutines/issues/284. That should allow us to support Security and Reactive transactions for example.
d
cool thanks!
t
Very good article @sdeleuze!! About this sentence :
We are also going to make Reactor and coroutines context interoperable to support security and reactive transactions
I'm not sure to understand if coroutine are not supported for security and transactions at all or if only the switch between reactive and coroutine world are not supported
s
Thanks Thomas, Coroutines will get the same level of support for security and transactions (Reactive tarnsactions are coming with Spring Framework 5.2) than their reactive counterpart when https://github.com/Kotlin/kotlinx.coroutines/issues/284 will be fixed.