MutableValue

interface MutableValue<T> : Mutable<T> (source)

Represents a mutable value that can be set synchronously and/or asynchronously.

  • valueSet sets the value synchronously.

  • set sets the value asynchronously (typically just calls valueSet).

See also

Inheritors

Properties

Link copied to clipboard
@set:JvmName(name = "setValue2")
var <T> MutableValue<T>.value: T

Functions

Link copied to clipboard
open infix suspend override fun set(value: T)
Link copied to clipboard
abstract infix fun valueSet(value: T)