StartStopBuffer

class StartStopBuffer<T>(suffix: String = "Default", bufferLimit: Int = NO_LIMIT, customTrigger: StateFlow<Boolean>? = null)

Constructors

Link copied to clipboard
constructor(suffix: String = "Default", bufferLimit: Int = NO_LIMIT, customTrigger: StateFlow<Boolean>? = null)

Functions

Link copied to clipboard
fun active(src: String)
Link copied to clipboard
fun enqueueData(data: T)
Link copied to clipboard
fun hold()
Link copied to clipboard
fun subscribe(func: (T) -> Unit)