combineWith<U, R> method

RxComputed<R> combineWith<U, R>(
  1. Rx<U> other,
  2. R combiner(
    1. T a,
    2. U b
    )
)

Implementation

RxComputed<R> combineWith<U, R>(Rx<U> other, R Function(T a, U b) combiner) {
  return computed(() => combiner(value, other.value));
}