Expand description
Ergonomic abstractions to async programming in Bevy for all platforms.
Structs§
- Async
Receiver - A channel that catches an
AsyncTaskresult. - Async
Stream - An async stream task that yields multiple items.
- Async
Stream Receiver - A channel that receives multiple items from an async stream.
- Async
Task - A wrapper type around an async future. The future may be executed
asynchronously by an
TaskRunnerorTaskPoolbevy system parameter. - Task
Pool - A Bevy
SystemParamto execute many similarAsyncTasks in the background simultaneously. - Task
Runner - A Bevy
SystemParamto execute async tasks in the background. - Task
Stream - A Bevy
SystemParamto execute async streams in the background. - Timed
Async Task - A wrapper type around an async future with a timeout. The future may be executed
asynchronously by an
TimedTaskRunnerorTimedTaskPoolbevy system parameter. - Timed
Task Pool - A Bevy
SystemParamto execute many similarAsyncTasks in the background simultaneously. - Timed
Task Runner - A Bevy
SystemParamto execute async tasks in the background with a timeout. - Timeout
Error - A timeout occurred on a timed asyncronous task.
Constants§
- DEFAULT_
TIMEOUT - A good default timeout. Values over
i32::MAXwill cause panics on web. - MAX_
TIMEOUT - The maximum timeout allowed. Anything above this will cause a panic on web.
Traits§
- Conditional
Send Stream - The missing conditional send stream trait. see: https://github.com/bevyengine/bevy/issues/22093