throttle<T>  method 
      
ZenWorkerHandle
throttle<T>( 
    
    
- ValueNotifier<T> obs,
- void callback(- T
 
- Duration duration
inherited
    Implementation
ZenWorkerHandle throttle<T>(
  ValueNotifier<T> obs,
  void Function(T) callback,
  Duration duration,
) {
  if (duration.isNegative || duration == Duration.zero) {
    throw ArgumentError('Throttle duration must be positive');
  }
  return _createWorker(
      () => ZenWorkers.throttle<T>(obs, callback, duration), 'throttle');
}