ProduceStateScope

interface ProduceStateScope<T> : MutableState<T> , CoroutineScope

Receiver scope for use with produceState.

Functions

awaitDispose
Link copied to clipboard
common
abstract suspend fun awaitDispose(onDispose: () -> Unit): Nothing
Await the disposal of this producer whether it left the composition, the source changed, or an error occurred.
component1
Link copied to clipboard
common
abstract operator fun component1(): T
component2
Link copied to clipboard
common
abstract operator fun component2(): (T) -> Unit
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Properties

coroutineContext
Link copied to clipboard
common
abstract val coroutineContext: CoroutineContext
value
Link copied to clipboard
common
abstract override var value: T