Package org.apache.pekko.japi.function
Interface Procedure<T>
- All Superinterfaces:
Serializable
A Procedure is like a Function, but it doesn't produce a return value.
Serializable is needed to be able to grab line number for Java 8 lambdas.
Supports throwing Exception in the apply, which the java.util.function.Consumer counterpart does not.-
Method Summary
-
Method Details
-
apply
- Throws:
Exception
-