pub fn whenever_with_options<T, DFn, CFn>( source: DFn, callback: CFn, options: WatchOptions, ) -> impl Fn() + Clone + Send + Syncwhere DFn: Fn() -> bool + 'static, CFn: Fn(bool, Option<bool>, Option<T>) -> T + Clone + 'static, T: Clone + 'static,
Version of whenever that accepts WatchOptions. See whenever for how to use.
whenever
WatchOptions