PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="stoppable-flow.html">T</a><span class="token operator">&gt;</span></div><p class="paragraph">Creates a <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span> with the ability to stop its collection early based on a custom condition.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">A new <span data-unresolved-link="kotlinx.corouti