gate

fun gate(condition: Behavior<Boolean>): Event<A>(source)

Returns an Event that only fires if the condition does not hold at a particular time.