combineWith<U, R> method

Observable<R> combineWith<U, R>(
  1. Observable<U> other,
  2. R combiner(
    1. T,
    2. U
    )
)

Implementation

Observable<R> combineWith<U, R>(
    Observable<U> other,

    /// Function method.
    R Function(T, U) combiner) {
  return ComputedObservable(
      () => combiner(value, other.value), [this, other]);
}