summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.redux/-state-binding/state-update.html
blob: eb1038d88f80122f9fb4a78525ed7a6a7735d159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>StateBinding.stateUpdate - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.redux</a>&nbsp;/&nbsp;<a href="index.html">StateBinding</a>&nbsp;/&nbsp;<a href="./state-update.html">stateUpdate</a><br/>
<br/>
<h1>stateUpdate</h1>
<a name="pl.treksoft.kvision.redux.StateBinding.Companion$stateUpdate(pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONTENT)))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">S</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">CONT</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">&gt;</span> <a href="state-update.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="identifier">stateUpdate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding.Companion$stateUpdate(pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONTENT)))/store">store</span><span class="symbol">:</span>&nbsp;<a href="../-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol">&lt;</span><a href="state-update.html#S"><span class="identifier">S</span></a><span class="symbol">,</span>&nbsp;<a href="state-update.html#A"><span class="identifier">A</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding.Companion$stateUpdate(pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONTENT)))/factory">factory</span><span class="symbol">:</span>&nbsp;<a href="state-update.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="state-update.html#S"><span class="identifier">S</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="state-update.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-updateable/index.html"><span class="identifier">Updateable</span></a><span class="symbol">&lt;</span><a href="state-update.html#S"><span class="identifier">S</span></a><span class="symbol">,</span>&nbsp;<a href="state-update.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">&gt;</span></code>
<p>DSL builder extension function for updateable redux content.</p>
<p>It takes the same parameters as the constructor of the built component.</p>
</BODY>
</HTML>