Flow Turbine
Represents active collection on a source Flow which buffers item emissions, completion, and/or errors as events for consuming.
Functions
awaitComplete
Link copied to clipboard
abstract suspend fun awaitComplete()
Content copied to clipboard
awaitError
Link copied to clipboard
awaitEvent
Link copied to clipboard
cancelAndConsumeRemainingEvents
Link copied to clipboard
cancelAndIgnoreRemainingEvents
Link copied to clipboard
expectComplete
Link copied to clipboard
open suspend fun expectComplete()
Content copied to clipboard
expectError
Link copied to clipboard
expectEvent
Link copied to clipboard
expectItem
Link copied to clipboard
expectMostRecentItem
Link copied to clipboard
expectNoEvents
Link copied to clipboard
abstract fun expectNoEvents()
Content copied to clipboard
Properties
timeout
Link copied to clipboard
Duration that awaitItem, awaitComplete, awaitError, and awaitEvent will wait before throwing a timeout exception.