Commits


Michael Lehenbauer authored and GitHub committed 97c499cc3bc
Refactor pendingWrites / write pipeline. (#1699) [Port of https://github.com/firebase/firebase-js-sdk/pull/972] No functional changes. Just renames, moves, added comments, etc. * pendingWrites => writePipeline * canWriteMutations renamed canAddToWritePipeline * commitBatch => addBatchToWritePipeline * lastBatchSeen removed since we can compute it on demand from writePipeline. * Removed cleanUpWriteStreamState and instead inlined it in disableNetworkInternal since I didn't like the non-symmetry with cleanUpWatchStreamState which is called every time the stream closes. * Misc. comment cleanup.