@FunctionalInterface
public interface Body
Block.body() method. This is
equivalent to Runnable but is made separate so that when passed as a parameter
the lambda will be easily distinguished. Casting a lambda to this type also will serve as
useful documentation.| Modifier and Type | Method and Description |
|---|---|
void |
body()
Provides a callback that is guaranteed to be called AFTER every block executes and
BEFORE the body can iterated, retried or exited.
|