-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
A-TasksTools for parallel and async workTools for parallel and async workC-DocsAn addition or correction to our documentationAn addition or correction to our documentationC-ExamplesAn addition or correction to our examplesAn addition or correction to our examples
Description
What problem does this solve or what need does it fill?
From the discussion in #4102: Should bevy keep Task in it's public API?
What solution would you like?
Is there a use case where one needs to use Task instead of PollableTask? Currently, there are two examples on async tasks:
- one for the usage of
PollableTask: A task that returns one result that can be polled on, using bevy'sTaskPool. - one using custom threads and channels: Arbitrary async tasks, not using bevy's async functionality at all.
Either there is a use case for Task -> add an example.
Or there is no use case -> remove Task from the public API, the user should then either use PollableTask or custom threads.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-TasksTools for parallel and async workTools for parallel and async workC-DocsAn addition or correction to our documentationAn addition or correction to our documentationC-ExamplesAn addition or correction to our examplesAn addition or correction to our examples