observeListSampled method

SunnyObservableList<X> observeListSampled([
  1. String? debugLabel,
  2. DiffEquality? diffDelegator
])

Implementation

SunnyObservableList<X> observeListSampled(
    [String? debugLabel, DiffEquality? diffDelegator]) {
  return SunnyObservableList<X>.ofVStream(
      this.sampled() as ValueStream<Iterable<X>>,
      debugLabel: debugLabel,
      diffEquality: diffDelegator ?? DiffEquality.diffable());
}