ProvidedValue

class ProvidedValue<T>

An instance to hold a value provided by Providers and is created by the ProvidableAmbient.provides infixed operator. If canOverride is false, the provided value will not overwrite a potentially already existing value in the scope.

Functions

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

ambient
Link copied to clipboard
common
val ambient: Ambient<T>
canOverride
Link copied to clipboard
common
val canOverride: Boolean
value
Link copied to clipboard
common
val value: T