/// Call a function every tick, expecting some kind of side effect (e.g. a progress
/// bar).
Call a function every tick, expecting some kind of side effect .
Call a function every tick expecting some kind of side effect .
pub fn side_effect<F>(function: F) -> Self
    where
        F: 'static + Sync + Send + Clone + Fn() -> Result<(), WaiterError>,
    {
        Self::from(Box::new(SideEffectWaiter::new(function)))
    }
pub fn side_effect < F > ( function : F ) -> Self where F : ' static + Sync + Send + Clone + Fn ( ) -> Result < ( ) , WaiterError > , { Self :: from ( Box :: new ( SideEffectWaiter :: new ( function ) ) ) }
Call a function every tick, expecting some kind of side effect (e.g.
Call a function every tick expecting some kind of side effect ( e . g .
function
F