class="token function">indexFlow</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">upstream<span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-document/index.html">Document</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="index-flow.html">T</a><span class="t