Signal

external class Signal<T>(var value: T = definedExternally) : ReadonlySignal<T> (source)

The base class for plain and computed signals.

Constructors

Link copied to clipboard
constructor(value: T = definedExternally)

Properties

Link copied to clipboard
open override val brand: BRAND_SYMBOL
Link copied to clipboard
open override var value: T

Functions

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