add 'system.max-bg-asset-loaders' setting

This commit is contained in:
MihailRis 2026-01-28 20:06:00 +03:00
parent 1cf4fb8703
commit 63024133be
8 changed files with 26 additions and 9 deletions

View file

@ -113,7 +113,7 @@ public:
/// @throws assetload::error
void loadNext();
std::shared_ptr<Task> startTask(runnable onDone);
std::shared_ptr<Task> startTask(runnable onDone, int maxWorkers);
const ResPaths& getPaths() const;
aloader_func getLoader(AssetType tag);