docs: update resources API docs
This commit is contained in:
24
docs/api/resources/asyncloader/getpendingcount.md
Normal file
24
docs/api/resources/asyncloader/getpendingcount.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# 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) - 返回类总览
|
||||
Reference in New Issue
Block a user