useWatchOnly<T extends Listenable, R> function
Implementation
R useWatchOnly<T extends Listenable, R>(
R Function(T) only, {
String? instanceName,
}) {
return use(_WatchOnlyHook<T, R>(
only: only,
instanceName: instanceName,
));
}