[−][src]Trait specs_task::TaskComponent
An ephemeral component that needs access to SystemData
to run some task. Will be run by the
TaskRunnerSystem<T>
until run
returns true
.
Note: TaskComponent::Data
isn't allowed to contain Storage<TaskComponent>
, since the
TaskRunnerSystem
already uses that resource and borrows it mutably while calling
TaskComponent::run
.