Struct waitout::WaitGroup [] [src]

pub struct WaitGroup { /* fields omitted */ }

A waitgroup waits for a collection of tasks to complete. It keeps track of tasks via shared counter

Methods

impl WaitGroup
[src]

creates a new wait group instance

adds delta to internal counter

subtracts 1 from internal counter

blocks the current thread until wait group is complete

Trait Implementations

impl Default for WaitGroup
[src]

Returns the "default value" for a type. Read more