ass="token keyword"></span><span class="token keyword">fun </span><a href="wait-for-all-activities-destroy.html"><span class="token function">waitForAllActivitiesDestroy</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">timeOutInMillis<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></span></span><span class="token punctuation">)</span></div><p class="paragraph">wait until the last ac