Interface ReactiveGuard<S,E>

Type Parameters:
S - the type of state
E - the type of event
All Superinterfaces:
Function<StateContext<S,E>,reactor.core.publisher.Mono<Boolean>>

public interface ReactiveGuard<S,E> extends Function<StateContext<S,E>,reactor.core.publisher.Mono<Boolean>>
Reactive counterpart of a Guard being simply a Function of a return type of a Mono wrapping Boolean.