File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
firebase-firestore/src/main/java/com/google/firebase/firestore Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -363,10 +363,12 @@ Task<Void> shutdown() {
363
363
}
364
364
365
365
/**
366
- * Wait until all pending writes existed at the time of calling are sent to the backend.
366
+ * Waits until all pending writes that existed at the time of calling have been successfully
367
+ * written to the server.
367
368
*
368
- * @return A {@link Task} which resolves when all pending writes are sent to the backend. If there
369
- * is a Firebase user change, the return {@link Task} will resolve to an exception.
369
+ * @return A {@code Task} which resolves when all pending writes are written to the backend. If
370
+ * there is a Firebase user change, the returned {@code Task} will resolve to an exception. If
371
+ * the client is offline, the returned {@code Task} will not resolve.
370
372
*/
371
373
Task <Void > waitForPendingWrites () {
372
374
return client .waitForPendingWrites ();
You can’t perform that action at this time.
0 commit comments