fix: improve doc link navigation and tree display

- Fix link resolution with proper relative/absolute path handling
- Improve link styling with underline decoration
- Hide leaf nodes from tree, only show directories
- Fix log file path for packaged app
This commit is contained in:
2026-03-19 12:44:08 +08:00
parent e003fe6513
commit 58a83f445a
1012 changed files with 56880 additions and 22 deletions

View File

@@ -0,0 +1,27 @@
# AsyncLoader::Update
```cpp
void Update()
```
更新函数,在主线程调用。处理完成的加载请求,将结果从完成队列取出并在主线程执行回调。必须在主线程调用以确保线程安全。
**参数:**
**返回:**
**复杂度:** O(n)n 为完成队列中的请求数
**示例:**
```cpp
// 在主循环中调用
while (running) {
AsyncLoader::Get().Update(); // 分发完成的加载回调
RenderFrame();
}
```
## 相关文档
- [AsyncLoader 总览](asyncloader.md) - 返回类总览