Just trying to fix things now

This commit is contained in:
2026-06-08 09:39:09 -05:00
parent be68fe5a35
commit 2ca6780305
9 changed files with 137 additions and 91 deletions
+6
View File
@@ -57,6 +57,12 @@ interface AssetBatch {
* Returns `undefined` if `index` is out of range or the batch is disposed.
*/
entry(index: number): AssetEntry | undefined;
/**
* Returns the first `AssetEntry` whose path matches, adding an
* independent lock. Returns `undefined` if no entry matches.
* The returned entry must be unlocked separately when no longer needed.
*/
getAssetByPath(path: string): AssetEntry | undefined;
/**
* Fires once when every entry has loaded successfully.