title: Batched Writes - When Does The OnSuccess Method Reached?
body: <p>I have read the <a href="https://cloud.google.com/firestore/docs/manage-data/transactions" rel="nofollow noreferrer">documentation</a> about the <code>batched writes</code>, but I didn't understand when does the <code>onSuccess</code> method is reached:</p>
  <ol>
  <li>After all of the writes were executed.</li>
  <li>After all of the writes were completed.</li>
  <li>After all of the writes were successfully completed.</li>
  </ol>
  <p>Or none of the above...</p>
  <p>Thanks.</p>