Expand description
The tasks prelude.
This includes the most common types in this crate, re-exported for your convenience.
Structs§
- AsyncCompute Task Pool 
- A newtype for a task pool for CPU-intensive work that may span across multiple frames
- ComputeTask Pool 
- A newtype for a task pool for CPU-intensive work that must be completed to deliver the next frame
- IoTaskPool 
- A newtype for a task pool for IO-intensive work (i.e. tasks that spend very little time in a “woken” state)
Traits§
- ParallelIterator 
- ParallelIteratorclosely emulates the- std::iter::Iteratorinterface. However, it uses- bevy_taskto compute batches in parallel.
- ParallelSlice 
- Provides functions for mapping read-only slices across a provided TaskPool.
- ParallelSlice Mut 
- Provides functions for mapping mutable slices across a provided TaskPool.
Functions§
- block_on 
- Blocks the current thread on a future.