@FunctionalInterface
public interface InstanceCbService<S>
The type of the service passed in argument to the callback is defined by the "S" generic parameter.
Modifier and Type | Method and Description |
---|---|
void |
accept(S service)
Handles the given argument.
|
default InstanceCbService<S> |
andThen(InstanceCbService<S> after) |
void accept(S service)
service
- a Servicedefault InstanceCbService<S> andThen(InstanceCbService<S> after)