Enum asynchronous::ControlFlow [] [src]

pub enum ControlFlow {
    Series,
    Parallel,
    ParallelLimit(usize),
    ParallelCPUS,
}

Different possibilities for asynchronous treatment of vectors

Variants

Series

Executes one after each other. Stops execution if one fails.

Parallel

Executes all tasks at the same time

ParallelLimit

Executes all tasks but only usize tasks running at the same time

ParallelCPUS

Executes all tasks but only NumberCpus tasks running at the same time