Package dev.failsafe.function
Interface AsyncRunnable<R>
-
- Type Parameters:
R
- result type
- 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 AsyncRunnable<R>
A Runnable that manually triggers asynchronous retries or completion via an asynchronous execution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
run(AsyncExecution<R> execution)
-
-
-
Method Detail
-
run
void run(AsyncExecution<R> execution) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-