Initial Dever 0.0.1

This commit is contained in:
Codex committed 2026-11-03 03:32:07 +00:00
commit 81233d098c
1479 files changed
+163782

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
# 同步等待
等待占用当前线程;异步流程使用 dever.task.sleep。
## dever.time.SleepResult
等待成功或无法表示的时长;零毫秒合法,负数失败。
分支:
- `Done`:等待完成
- `error Failed(message: Text)`:时长错误
## dever.time.sleep
阻塞当前线程直到指定毫秒数过去。
## dever.time.slept
等待成功时继续执行,时长无效时传播错误。