startCollecting

abstract fun <T> Flow<T>.startCollecting(context: CoroutineContext = UnconfinedTestDispatcher(scope.testScheduler)): TestFlowCollector<T>

Start collecting this flow.

Return

TestFlowCollector instance which can be used for asserting the current collecting status