Package org.apache.pekko.japi.function
Interface Effect
- All Superinterfaces:
Serializable
An executable piece of code that takes no parameters and doesn't return any 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.Effect counterpart does not.-
Method Summary
-
Method Details
-
apply
- Throws:
Exception
-