Package io.mats3

Interface MatsEndpoint.ProcessReturnLambda<R,S,I>

Enclosing interface:
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 MatsEndpoint.ProcessReturnLambda<R,S,I>
Specialization of ProcessLambda that makes it possible to do a "return replyDto" at the end of the stage, which is just a convenient way to invoke MatsEndpoint.ProcessContext.reply(Object). Used for the last process stage of a multistage endpoint.