Crate bevy_async_task

Source
Expand description

Ergonomic abstractions to async programming in Bevy for all platforms.

Structs§

AsyncReceiver
A channel that catches an AsyncTask result.
AsyncTask
A wrapper type around an async future. The future may be executed asynchronously by an AsyncTaskRunner or AsyncTaskPool bevy system parameter.
AsyncTaskPool
A Bevy SystemParam to execute many similar AsyncTasks in the background simultaneously.
AsyncTaskRunner
A Bevy SystemParam to execute AsyncTasks individually in the background.
Duration
A Duration type to represent a span of time, typically used for system timeouts.

Enums§

TaskError
Errors that may occur from running asynchronous tasks.