Interface SideEffectService<Context>

Type Parameters:
Context - Context type.
All Superinterfaces:
Function<Context,State>, Service<Context,State>
All Known Subinterfaces:
ConsumerService<Context>
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 interface SideEffectService<Context> extends Service<Context,State>
Service implementation that alters the state of the owning application in some way. A SideEffectService does not return a generated result, instead it returns a response, indicating whether or not the context was consumed
  • Method Details