Files
XCEngine/docs/api/resources/asyncloader/getpendingcount.md

24 lines
417 B
Markdown
Raw Normal View History

2026-03-20 02:35:35 +08:00
# AsyncLoader::GetPendingCount
```cpp
Core::uint32 GetPendingCount() const
```
获取当前待处理的加载请求数量。
**参数:** 无
**返回:** 待处理加载请求数量
**复杂度:** O(1)
**示例:**
```cpp
Core::uint32 pending = AsyncLoader::Get().GetPendingCount();
printf("Pending requests: %u\n", pending);
```
## 相关文档
- [AsyncLoader 总览](asyncloader.md) - 返回类总览