signal

fun <T> signal(initialValue: T): MutableSignal<T>(source)

Creates a mutable signal with the given initial value.

Return

the signal

Since

0.1.0

Parameters

initialValue

the value to initialize the signal with

T

the type of the signal