Fix some script bugs
This commit is contained in:
Vendored
+6
-1
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user