turbine / app.cash.turbine / FlowTurbine / cancel

cancel

abstract suspend fun cancel(): Unit

Cancel collecting events from the source Flow. Any events which have already been received will still need consumed using the "expect" functions.