useWatchStream<T extends Object, R> function
Implementation
AsyncSnapshot<R> useWatchStream<T extends Object, R>(
Stream<R> Function(T) select, R initialValue,
{String? instanceName, bool preserveState = true}) {
return use(_WatchStreamHook<T, R>(
select: select,
instanceName: instanceName,
initialValue: initialValue,
preserveState: preserveState));
}