[][src]Crate bevy_tasks

Modules

prelude

Structs

AsyncComputeTaskPool

A newtype for a task pool for CPU-intensive work that may span across multiple frames

ComputeTaskPool

A newtype for a task pool for CPU-intensive work that must be completed to deliver the next frame

CountdownEvent

A counter that starts with an initial count n. Once it is decremented n times, it will be "ready". Call listen to get a future that can be awaited.

IOTaskPool

A newtype for a task pool for IO-intensive work (i.e. tasks that spend very little time in a "woken" state)

Scope
Task

Wraps async_executor::Task, a spawned future.

TaskPool

A thread pool for executing tasks. Tasks are futures that are being automatically driven by the pool on threads owned by the pool.

TaskPoolBuilder

Used to create a TaskPool

Traits

ParallelIterator

ParallelIterator closely emulates the std::iter::Iterator interface. However, it uses bevy_task to compute batches in parallel.

ParallelSlice
ParallelSliceMut

Functions

logical_core_count
physical_core_count