reactor-core
reactor-core copied to clipboard
Contextual operators: transformWithWrappers / FunctionalWrappers
This PR introduces several concepts:
- a generic
FunctionalWrappersinterface that defines wrappers for all functional types used by Reactor API - a contextual implementation of the above in
ContextPropagation - an operator that will allow transformation of a sequence with a
FunctionalWrappersinstance in scope, which enables users to wrap their lambdas inside the scope and get context propagation if available
See tests for an example of using Flux#transformWithWrappers.
Depends-on: #3145
Closing. This work was superseded by proposal (4) from #3149.