ReadonlySignal

sealed external interface ReadonlySignal<out T>(source)

An interface for read-only signals.

Inheritors

Properties

Link copied to clipboard
abstract val brand: BRAND_SYMBOL
Link copied to clipboard
abstract val value: T

Functions

Link copied to clipboard
open inline operator fun getValue(thisRef: Nothing?, property: KProperty<*>): T
Link copied to clipboard
abstract fun peek(): T
Link copied to clipboard
abstract fun subscribe(fn: (value: T) -> Unit): () -> Unit
Link copied to clipboard
abstract fun toJSON(): T
Link copied to clipboard
abstract fun valueOf(): T