Interface ActionDef.StreamingFunction<I,O,S>

Type Parameters:
I - input type
O - output type
S - stream chunk type
Enclosing class:
ActionDef<I,O,S>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ActionDef.StreamingFunction<I,O,S>
Function interface for streaming actions.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(ActionContext ctx, I input, Consumer<S> streamCallback)