docs: clarify task example ownership and failure boundaries

This commit is contained in:
2026-11-12 21:22:00 +08:00
parent 40b43ac3c3
commit 94e0f96e4a
6 changed files with 11 additions and 4 deletions
+1
View File
@@ -33,6 +33,7 @@ class CycleRect: RectBlock {
}
}
// 创建临时 Page 和 CycleRect,相互引用后挂载,再把 Page/Task 分别放入两个外部 holder。
// 按 mountCycle → 观察 → releaseCycle 的顺序使用;未释放前重复 mountCycle 会另建页面并覆盖 holder,不是重置原环。
function mountCycle(): Unit {
// 供 Console 手工调用的零参入口,加载此文件只定义函数,不立即创建临时环或开始五分钟等待。
transient = Page()