Crate q_tasks

Source
Expand description

§q_tasks

License Crates.io Downloads Docs CI codecov enbyware

A microscopic plugin for polling the status of tasks in Bevy.

releasebevy version
0.10.16

Macros§

task
Creates an asychronously executing task. When finished, may optionally send an event.

Structs§

CommandQueue
Densely and efficiently stores a queue of heterogenous types implementing Command.
TaskComponent
Used to keep a task alive. The task! macro will automatically spawn and free an entity with this component in order to track active tasks.
TaskPlugin
Exposes the crate’s funtionality. In particular, runs poll_tasks on PreUpdate.
World
Stores and exposes operations on entities, components, resources, and their associated metadata.

Functions§

poll_tasks
Poll tasks. If using the plugin, this happens on PreUpdate.