pan><span>Content copied to clipboard</span></div></span></div><h5 class="">Document Flow</h5><p class="paragraph">Unlike <code class="lang-kotlin">Collection.documentChangeFlow()</code>, which only emits <code class="lang-kotlin">DocumentChange</code>s, <code class="lang-kotlin">Collection.documentFlow()</code> handles the common use case of getting the initial document state and observing changes from the collection, enabling reactive UI patterns.</p><div class="sample-container"><pre><code class="block l