Support for Function<Publisher<...>,...>

This commit is contained in:
Dave Syer
2018-02-14 14:09:18 +00:00
parent 5b84ae0d7e
commit c728cd4c01
6 changed files with 50 additions and 8 deletions

View File

@@ -71,7 +71,7 @@ public class FunctionController {
if (debug) {
flux = flux.log();
}
Flux<?> result = function.apply(flux);
Flux<?> result = Flux.from(function.apply(flux));
if (logger.isDebugEnabled()) {
logger.debug("Handled POST with function");
}