Fix some script bugs

This commit is contained in:
2026-06-07 18:47:34 -05:00
parent ed0420fdce
commit f8c9d33df2
8 changed files with 60 additions and 32 deletions
+6 -1
View File
@@ -31,7 +31,12 @@ interface AssetBatch {
/** `true` if any entry is in an `ERROR` state. */
readonly hasError: boolean;
/**
* Blocks until every entry is loaded.
* Returns a Promise that resolves when all entries have loaded, or rejects
* if any entry errors. Use with `await`.
*/
loaded(): Promise<void>;
/**
* Blocks (spin-waits) until every entry is loaded.
* Returns `this` for chaining.
* @throws If any entry fails to load.
*/