batch

Function batch 

Source
pub fn batch<T>(f: impl FnOnce() -> T) -> T
👎Deprecated since 0.2.0: Use Effect::batch instead; this will be removed in a future release