rawSelect<T> method

PodFuture<P, T> rawSelect<T>(
  1. T cb(
    1. AsyncValue<V> value
    )
)

Create a derived pod, that transforms a pod's value using the given function cb.

Only rebuilds when the selected value changes.

Implementation

PodFuture<P, T> rawSelect<T>(
  T Function(AsyncValue<V> value) cb,
) =>
    PodFuture(
      future,
      (ref, future) => cb(
        ref.watch(this),
      ),
    );