public final class Guards
extends java.lang.Object
| Constructor and Description |
|---|
Guards() |
| Modifier and Type | Method and Description |
|---|---|
static <S,E> java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Boolean>> |
from(Guard<S,E> guard)
Builds a
ReactiveGuard from a Guard. |
public static <S,E> java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Boolean>> from(Guard<S,E> guard)
ReactiveGuard from a Guard.S - the type of stateE - the type of eventguard - the guard