Function batch

Source
pub fn batch<R, K: FnOnce() -> R>(k: K) -> R