[−][src]Trait specs_task::TaskComponent
An ephemeral component that needs access to SystemData
to run some task. Will be run until
is_complete
by the TaskRunnerSystem<T>
.
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
.