ValueFlow

class ValueFlow : MutableSharedFlow<DataByteArray>

Helper class which joins capability of setting up an extra buffer from MutableSharedFlow with a value field available for StateFlow.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val replayCache: List<DataByteArray>
Link copied to clipboard
open override val subscriptionCount: StateFlow<Int>
Link copied to clipboard

Returns last value emitted to the MutableSharedFlow.

Functions

Link copied to clipboard
open suspend override fun collect(collector: FlowCollector<DataByteArray>): Nothing
Link copied to clipboard
open suspend override fun emit(value: DataByteArray)
Link copied to clipboard
open override fun resetReplayCache()
Link copied to clipboard
open override fun tryEmit(value: DataByteArray): Boolean