Suspendable.@Deprecated
@FunctionalInterface
public interface Guardian
| Modifier and Type | Method and Description |
|---|---|
static Guardian |
combine(Guardian... guardians)
Deprecated.
Returns a guardian that combines all of the given guardians into one.
|
Guard |
guard()
Deprecated.
|
default void |
guardWhile(java.lang.Runnable r)
Deprecated.
|
default <T> T |
guardWhile(java.util.function.Supplier<T> f)
Deprecated.
|