unity-async
Installation
SKILL.md
Unity Async Strategy
Documentation only: no REST skills.
Scope: this module covers async code written into the Unity runtime (Update, coroutines, UniTask, cancellation, lifecycle ownership). It does not cover the REST protocol's own async jobs; for jobId polling see batch.
When to use
- Deciding how runtime work should be scheduled or cleaned up
Decision ladder
- Ask first whether the task needs per-frame work at all.
- If not, prefer events, callbacks, or explicit method calls.
- For a short Unity-bound sequence, prefer a coroutine.
- Recommend
UniTaskonly when the project already uses it, or the user explicitly wants it and accepts the dependency. - Use
Updateonly for true continuous simulation, polling, or input loops that cannot be event-driven.