@@ -8293,21 +8293,21 @@ declare namespace firebase.firestore {
8293
8293
* Loads a Firestore bundle into the local cache.
8294
8294
*
8295
8295
* @param bundleData
8296
- * An object representing the bundle to be load . Valid objects are `ArrayBuffer`,
8296
+ * An object representing the bundle to be loaded . Valid objects are `ArrayBuffer`,
8297
8297
* `ReadableStream<Uint8Array>` or `string`.
8298
8298
*
8299
8299
* @return
8300
- * A `LoadBundleTask` object, which notifies callers with progress update , and completion
8300
+ * A `LoadBundleTask` object, which notifies callers with progress updates , and completion
8301
8301
* or error events. It can be used as a `Promise<LoadBundleTaskProgress>`.
8302
8302
*/
8303
8303
loadBundle (
8304
8304
bundleData : ArrayBuffer | ReadableStream < Uint8Array > | string
8305
8305
) : LoadBundleTask ;
8306
8306
8307
8307
/**
8308
- * Reads a Firestore `Query` from local cache that is associated to a given name.
8308
+ * Reads a Firestore `Query` from local cache, identified by the given name.
8309
8309
*
8310
- * The named queries are from bundles. They are packaged into bundles on the server side (along
8310
+ * The named queries are packaged into bundles on the server side (along
8311
8311
* with resulting documents), and loaded to local cache using `loadBundle`. Once in local
8312
8312
* cache, use this method to extract a `Query` by name.
8313
8313
*/
@@ -8329,7 +8329,7 @@ declare namespace firebase.firestore {
8329
8329
/**
8330
8330
* Registers functions to listen to bundle loading progress events.
8331
8331
* @param next
8332
- * Called when there is a progress update from bundle loading, typically `next` calls occur
8332
+ * Called when there is a progress update from bundle loading. Typically `next` calls occur
8333
8333
* each time a Firestore document is loaded from the bundle.
8334
8334
* @param error
8335
8335
* Called when an error occurs during bundle loading. The task aborts after reporting the
@@ -8347,8 +8347,8 @@ declare namespace firebase.firestore {
8347
8347
* Implements the `Promise<LoadBundleTaskProgress>.then` interface.
8348
8348
*
8349
8349
* @param onFulfilled
8350
- * Called on the completion with a `LoadBundleTaskProgress` update when the
8351
- * loading task completes. The update will have its `taskState` set to `"Success"`.
8350
+ * Called on the completion of the loading task with a final `LoadBundleTaskProgress` update.
8351
+ * The update will always have its `taskState` set to `"Success"`.
8352
8352
* @param onRejected
8353
8353
* Called when an error occurs during bundle loading.
8354
8354
*/
0 commit comments