Package akka.japi.function
Interface Effect
-
- All Superinterfaces:
java.io.Serializable
public interface Effect extends java.io.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 throwingException
in the apply, which thejava.util.function.Effect
counterpart does not.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply()
-