Where does UniTask keep its tasks? #651
Unanswered
AnsisMalins
asked this question in
Q&A
Replies: 1 comment
-
|
No global queue to inspect. UniTask doesn’t keep a public “list of in-flight tasks.” Each async method compiles to its own state machine and continuations run via Unity’s PlayerLoop; there’s no API to enumerate “currently executing” tasks or get built-in IDs. What you can use is the UniTask Tracker window in the Editor to see pending/running tasks (great for leaks and long-running ops):
So: no centralized runtime list/IDs; use the Tracker for visibility during development, or add your own IDs/logging around the tasks you care about. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Where in memory can I find the list or queue of all the tasks UniTask has in flight? How can I identify which task is currently executing? Like, do they have IDs or anything?
Beta Was this translation helpful? Give feedback.
All reactions