Files
XCSDD/docs/api/resources/asyncloader/cancelall.md
ssdfasd 58a83f445a 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
2026-03-19 12:44:08 +08:00

413 B

AsyncLoader::CancelAll

void CancelAll()

取消所有待处理的加载请求。清空待处理队列,不会触发任何回调。

参数:

返回:

复杂度: O(n)

示例:

// 场景切换时取消所有加载请求
void OnSceneChange() {
    AsyncLoader::Get().CancelAll();
}

相关文档