cancelAndIgnoreRemainingEvents

abstract suspend fun cancelAndIgnoreRemainingEvents()

Cancel this ReceiveTurbine and ignore any events which have already been received.

If it is backed by an underlying coroutine (e.g. the coroutine run by test), that coroutine will also be cancelled. If called within a test block, the test block will exit.