You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Spring Cloud Function we can simply make a composition like this: supplier|consumer. It is even composed when Supplier<Flux<?>> and when we do this:
artembilan
changed the title
Make implerative Consumer composable with a reactive Supplier<Flux<?>>
Make imperative Consumer composable with a reactive Supplier<Flux<?>>Jun 5, 2024
With Spring Cloud Function we can simply make a composition like this:
supplier|consumer
. It is even composed whenSupplier<Flux<?>>
and when we do this:Everything is OK, but consumer does not really consume the
Flux
returned from the supplier.To make it working we need a special wrapper around imperative consumer:
And then compose a reactive supplier with this one already.
The idea of this request is to have an automatic wrapping in the Spring Cloud Function when it composes reactive suppliers with imperative consumers.
The text was updated successfully, but these errors were encountered: