rawSelect<V> method

PodFuture<Pod<AsyncValue<T>>, V> rawSelect<V>(
  1. V cb(
    1. AsyncValue<T> 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<Pod<AsyncValue<T>>, V> rawSelect<V>(
  V Function(AsyncValue<T> value) cb,
) =>
    PodFuture(this, (ref, parent) => cb(ref.watch(parent)));