mapState
Transforms the emissions and state of an existing ObservableState instance to a different type. Typically useful for extracting sub-properties of an existing ObservableState.
Return
a new ObservableState emitting the new values of R