pub fn batch<X: Send + 'static + Into<Y>, Y: Send + 'static>( tasks: impl IntoIterator<Item = Task<X>>, ) -> Task<Y>
Yields a task which contains a batch of tasks.