Flow Turbine
Represents active collection on a source Flow which buffers item emissions, completion, and/or errors as events for consuming.
Functions
cancelAndConsumeRemainingEvents
Link copied to clipboard
cancelAndIgnoreRemainingEvents
Link copied to clipboard
Cancel collecting events from the source Flow and ignore any events which have already been received.
expectComplete
Link copied to clipboard
abstract suspend fun expectComplete()
Content copied to clipboard
expectError
Link copied to clipboard
expectEvent
Link copied to clipboard
expectItem
Link copied to clipboard
expectNoEvents
Link copied to clipboard
abstract fun expectNoEvents()
Content copied to clipboard
Properties
timeout
Link copied to clipboard
Duration that expectItem, expectComplete, and expectError will wait for an event before throwing a timeout exception.