kvision / pl.treksoft.kvision.redux / Updateable

Updateable

class Updateable<S : Any, CONTENT>

A helper class for updateable redux content.

Constructors

<init>

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

A helper class for updateable redux content.

Functions

updateWith

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

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.