kvision / pl.treksoft.kvision.state / Updateable

Updateable

(js) class Updateable<S : Any, CONTENT>
Deprecated: Use bind function instead.

A helper class for updateable content.

Constructors

(js)

<init>

A helper class for updateable content.

Updateable(setUpdateState: ((S, CONTENT) -> Unit) -> Unit)

Functions

(js)

updateWith

infix fun updateWith(updateState: (S, CONTENT) -> Unit): Unit