hold

fun <A> hold(initial: A, update: Event<A>): Signal<A>(source)

Produce a new Signal by providing an initial value, which is held constant until the update function occurs, at which point it will hold that value until the next update.