blob: 808ae64997a1ab5375995cc8953b46967fcc4cd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ReduxStore.dispatch - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.redux</a> / <a href="index.html">ReduxStore</a> / <a href="./dispatch.html">dispatch</a><br/>
<br/>
<h1>dispatch</h1>
<a name="pl.treksoft.kvision.redux.ReduxStore$dispatch(pl.treksoft.kvision.redux.ReduxStore.A)"></a>
<code><span class="keyword">fun </span><span class="identifier">dispatch</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.ReduxStore$dispatch(pl.treksoft.kvision.redux.ReduxStore.A)/action">action</span><span class="symbol">:</span> <a href="index.html#A"><span class="identifier">A</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Dispatches a synchronous action object.</p>
<a name="pl.treksoft.kvision.redux.ReduxStore$dispatch(kotlin.Function2((kotlin.Function1((pl.treksoft.kvision.redux.ReduxStore.A, kotlin.Unit)), kotlin.Function0((pl.treksoft.kvision.redux.ReduxStore.S)), )))"></a>
<code><span class="keyword">fun </span><span class="identifier">dispatch</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.ReduxStore$dispatch(kotlin.Function2((kotlin.Function1((pl.treksoft.kvision.redux.ReduxStore.A, kotlin.Unit)), kotlin.Function0((pl.treksoft.kvision.redux.ReduxStore.S)), )))/actionCreator">actionCreator</span><span class="symbol">:</span> <a href="../-action-creator.html"><span class="identifier">ActionCreator</span></a><span class="symbol"><</span><a href="index.html#A"><span class="identifier">A</span></a><span class="symbol">,</span> <a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code><br/>
<a name="pl.treksoft.kvision.redux.ReduxStore$dispatch(kotlin.Function2((kotlin.Function1((kotlin.Any, kotlin.Unit)), kotlin.Function0((pl.treksoft.kvision.redux.ReduxStore.S)), )))"></a>
<code><span class="keyword">fun </span><span class="identifier">dispatch</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.ReduxStore$dispatch(kotlin.Function2((kotlin.Function1((kotlin.Any, kotlin.Unit)), kotlin.Function0((pl.treksoft.kvision.redux.ReduxStore.S)), )))/actionCreator">actionCreator</span><span class="symbol">:</span> <a href="../-action-creator.html"><span class="identifier">ActionCreator</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">,</span> <a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code>
<p>Dispatches an asynchronous action function.</p>
</BODY>
</HTML>
|