ever<T> static method

ZenWorkerHandle ever<T>(
  1. ValueNotifier<T> obs,
  2. void callback(
    1. T
    )
)

Convenience methods with improved type inference

Implementation

static ZenWorkerHandle ever<T>(
  ValueNotifier<T> obs,
  void Function(T) callback,
) {
  return watch<T>(obs, callback, type: WorkerType.ever);
}