Package org.reactfx

Interface StateMachine.ObservableStateBuilder<S>

    • Method Detail

      • toStateStream

        EventStream<S> toStateStream()
        Returns an event stream that emits the current state of the state machine every time it changes.
      • toObservableState

        javafx.beans.binding.Binding<S> toObservableState()
        Returns a binding that reflects the current state of the state machine. Disposing the returned binding (by calling its dispose() method) causes the state machine to unsubscribe from the event streams that alter its state and allows the state machine to be garbage collected.