Introduce support for generator functions in leaf tasks, allowing them to yield for multi-frame execution. The `TaskRunner` now accepts a delta time (`dt`) parameter, which is passed through to leaf handlers. Additionally, a `Cancel` symbol is introduced to allow leaf tasks to explicitly cancel their subtree via a thrown error. |
||
|---|---|---|
| .. | ||
| index.ts | ||
| runner.ts | ||
| task.ts | ||
| tree-def.ts | ||