cosmic::task

Function batch

source
pub fn batch<X: Send + 'static + Into<Y>, Y: Send + 'static>(
    tasks: impl IntoIterator<Item = Task<X>>,
) -> Task<Y>
Expand description

Yields a task which contains a batch of tasks.