csharp
public readonly record struct CoroutineHandleA reference to a running coroutine, valid only while it runs.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
An index and a generation, the same shape as JobHandle and Entity, and for the same reason: the slot behind it goes back on the free list the moment the coroutine finishes, so a handle has to be able to tell "still running" from "finished, and something else is here now". The generation is what tells them apart.
There is no Cancel on it. See ICoroutineOwner for why cancellation is the owner's to do.
Fields and properties (1)
public bool IsRunningWhether the coroutine is still going.
Used by (3)
- BehaviorVixen.Engine
- CoroutineSchedulerVixen.Engine
- CoroutineTestsVixen.Engine.Tests