diff options
author | Robert Jaros <rjaros@finn.pl> | 2020-03-13 01:05:20 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2020-03-13 01:05:20 +0100 |
commit | 0365722f8549ee93918be99da1b9f901cf0b2c8d (patch) | |
tree | 01624b829e0d11c122070dacab6e7b1bf90325a8 /api/pl.treksoft.kvision.redux/index.html | |
parent | 4ffe1bee99a55e985bb71dacff3839263cb4316f (diff) | |
download | kvision-0365722f8549ee93918be99da1b9f901cf0b2c8d.tar.gz kvision-0365722f8549ee93918be99da1b9f901cf0b2c8d.tar.bz2 kvision-0365722f8549ee93918be99da1b9f901cf0b2c8d.zip |
API documentation for KVision 3.5.2
Diffstat (limited to 'api/pl.treksoft.kvision.redux/index.html')
-rw-r--r-- | api/pl.treksoft.kvision.redux/index.html | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/api/pl.treksoft.kvision.redux/index.html b/api/pl.treksoft.kvision.redux/index.html index 2adbbdfc..6c2aba79 100644 --- a/api/pl.treksoft.kvision.redux/index.html +++ b/api/pl.treksoft.kvision.redux/index.html @@ -14,52 +14,52 @@ <tbody> <tr> <td> -<p><a href="-r-action.html">RAction</a></p> +(js) +<h4><a href="-action-creator.html">ActionCreator</a></h4> </td> <td> -<code><span class="keyword">interface </span><span class="identifier">RAction</span></code></td> +<code><span class="keyword">typealias </span><span class="identifier">ActionCreator</span><span class="symbol"><</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">S</span><span class="symbol">></span> <span class="symbol">=</span> <span class="symbol">(</span><a href="-dispatch.html"><span class="identifier">Dispatch</span></a><span class="symbol"><</span><span class="identifier">A</span><span class="symbol">></span><span class="symbol">,</span> <a href="-get-state.html"><span class="identifier">GetState</span></a><span class="symbol"><</span><span class="identifier">S</span><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></td> </tr> <tr> <td> -<p><a href="-redux-store/index.html">ReduxStore</a></p> +(js) +<h4><a href="-dispatch.html">Dispatch</a></h4> </td> <td> -<code><span class="keyword">class </span><span class="identifier">ReduxStore</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <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> <a href="-r-action.html"><span class="identifier">RAction</span></a><span class="symbol">></span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.state/-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="-redux-store/index.html#S"><span class="identifier">S</span></a><span class="symbol">></span></code> -<p>A class implementing redux pattern backed by the Redux Kotlin library.</p> -</td> +<code><span class="keyword">typealias </span><span class="identifier">Dispatch</span><span class="symbol"><</span><span class="identifier">A</span><span class="symbol">></span> <span class="symbol">=</span> <span class="symbol">(</span><span class="identifier">A</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></td> </tr> -</tbody> -</table> -<h3>Type Aliases</h3> -<table> -<tbody> <tr> <td> -<p><a href="-action-creator.html">ActionCreator</a></p> +(js) +<h4><a href="-get-state.html">GetState</a></h4> </td> <td> -<code><span class="keyword">typealias </span><span class="identifier">ActionCreator</span><span class="symbol"><</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">S</span><span class="symbol">></span> <span class="symbol">=</span> <span class="symbol">(</span><a href="-dispatch.html"><span class="identifier">Dispatch</span></a><span class="symbol"><</span><a href="-action-creator.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">,</span> <a href="-get-state.html"><span class="identifier">GetState</span></a><span class="symbol"><</span><a href="-action-creator.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></td> +<code><span class="keyword">typealias </span><span class="identifier">GetState</span><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">></span> <span class="symbol">=</span> <span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="identifier">S</span></code></td> </tr> <tr> <td> -<p><a href="-dispatch.html">Dispatch</a></p> +(js) +<h4><a href="-r-action.html">RAction</a></h4> </td> <td> -<code><span class="keyword">typealias </span><span class="identifier">Dispatch</span><span class="symbol"><</span><span class="identifier">A</span><span class="symbol">></span> <span class="symbol">=</span> <span class="symbol">(</span><a href="-dispatch.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></td> +<code><span class="keyword">interface </span><span class="identifier">RAction</span></code></td> </tr> <tr> <td> -<p><a href="-get-state.html">GetState</a></p> +(js) +<h4><a href="-reducer-fun.html">ReducerFun</a></h4> </td> <td> -<code><span class="keyword">typealias </span><span class="identifier">GetState</span><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">></span> <span class="symbol">=</span> <span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="-get-state.html#S"><span class="identifier">S</span></a></code></td> +<code><span class="keyword">typealias </span><span class="identifier">ReducerFun</span><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">, </span><span class="identifier">A</span><span class="symbol">></span> <span class="symbol">=</span> <span class="symbol">(</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">A</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="identifier">S</span></code></td> </tr> <tr> <td> -<p><a href="-reducer-fun.html">ReducerFun</a></p> +(js) +<h4><a href="-redux-store/index.html">ReduxStore</a></h4> </td> <td> -<code><span class="keyword">typealias </span><span class="identifier">ReducerFun</span><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">, </span><span class="identifier">A</span><span class="symbol">></span> <span class="symbol">=</span> <span class="symbol">(</span><a href="-reducer-fun.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="-reducer-fun.html#A"><span class="identifier">A</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="-reducer-fun.html#S"><span class="identifier">S</span></a></code></td> +<p>A class implementing redux pattern backed by the Redux Kotlin library.</p> +<code><span class="keyword">class </span><span class="identifier">ReduxStore</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <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> <a href="-r-action.html"><span class="identifier">RAction</span></a><span class="symbol">></span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.state/-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">></span></code></td> </tr> </tbody> </table> @@ -68,13 +68,13 @@ <tbody> <tr> <td> -<p><a href="create-redux-store.html">createReduxStore</a></p> +(js) +<h4><a href="create-redux-store.html">createReduxStore</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <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> <a href="-r-action.html"><span class="identifier">RAction</span></a><span class="symbol">></span> <span class="identifier">createReduxStore</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux$createReduxStore(kotlin.Function2((pl.treksoft.kvision.redux.createReduxStore.S, pl.treksoft.kvision.redux.createReduxStore.A, )), pl.treksoft.kvision.redux.createReduxStore.S, kotlin.Array((((pl.treksoft.kvision.redux.createReduxStore.S)))))/reducer">reducer</span><span class="symbol">:</span> <a href="-reducer-fun.html"><span class="identifier">ReducerFun</span></a><span class="symbol"><</span><a href="create-redux-store.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="create-redux-store.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux$createReduxStore(kotlin.Function2((pl.treksoft.kvision.redux.createReduxStore.S, pl.treksoft.kvision.redux.createReduxStore.A, )), pl.treksoft.kvision.redux.createReduxStore.S, kotlin.Array((((pl.treksoft.kvision.redux.createReduxStore.S)))))/initialState">initialState</span><span class="symbol">:</span> <a href="create-redux-store.html#S"><span class="identifier">S</span></a><span class="symbol">, </span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.redux$createReduxStore(kotlin.Function2((pl.treksoft.kvision.redux.createReduxStore.S, pl.treksoft.kvision.redux.createReduxStore.A, )), pl.treksoft.kvision.redux.createReduxStore.S, kotlin.Array((((pl.treksoft.kvision.redux.createReduxStore.S)))))/middlewares">middlewares</span><span class="symbol">:</span> <span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><a href="create-redux-store.html#S"><span class="identifier">S</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol"><</span><a href="create-redux-store.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="create-redux-store.html#A"><span class="identifier">A</span></a><span class="symbol">></span></code><br/> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <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> <a href="-r-action.html"><span class="identifier">RAction</span></a><span class="symbol">></span> <span class="identifier">createReduxStore</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux$createReduxStore(((pl.treksoft.kvision.redux.createReduxStore.S, pl.treksoft.kvision.redux.createReduxStore.A)), pl.treksoft.kvision.redux.createReduxStore.S, kotlin.Array((kotlin.Any)))/reducer">reducer</span><span class="symbol">:</span> <span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><a href="create-redux-store.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="create-redux-store.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux$createReduxStore(((pl.treksoft.kvision.redux.createReduxStore.S, pl.treksoft.kvision.redux.createReduxStore.A)), pl.treksoft.kvision.redux.createReduxStore.S, kotlin.Array((kotlin.Any)))/initialState">initialState</span><span class="symbol">:</span> <a href="create-redux-store.html#S"><span class="identifier">S</span></a><span class="symbol">, </span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.redux$createReduxStore(((pl.treksoft.kvision.redux.createReduxStore.S, pl.treksoft.kvision.redux.createReduxStore.A)), pl.treksoft.kvision.redux.createReduxStore.S, kotlin.Array((kotlin.Any)))/middlewares">middlewares</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol"><</span><a href="create-redux-store.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="create-redux-store.html#A"><span class="identifier">A</span></a><span class="symbol">></span></code> <p>An inline helper function for creating Redux store.</p> -</td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <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> <a href="-r-action.html"><span class="identifier">RAction</span></a><span class="symbol">></span> <span class="identifier">createReduxStore</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux$createReduxStore(kotlin.Function2((pl.treksoft.kvision.redux.createReduxStore.S, pl.treksoft.kvision.redux.createReduxStore.A, )), pl.treksoft.kvision.redux.createReduxStore.S, kotlin.Array((kotlin.Function1((org.reduxkotlin.Store((pl.treksoft.kvision.redux.createReduxStore.S)), kotlin.Function1((kotlin.Function1((kotlin.Any, )), )))))))/reducer">reducer</span><span class="symbol">:</span> <a href="-reducer-fun.html"><span class="identifier">ReducerFun</span></a><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">A</span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux$createReduxStore(kotlin.Function2((pl.treksoft.kvision.redux.createReduxStore.S, pl.treksoft.kvision.redux.createReduxStore.A, )), pl.treksoft.kvision.redux.createReduxStore.S, kotlin.Array((kotlin.Function1((org.reduxkotlin.Store((pl.treksoft.kvision.redux.createReduxStore.S)), kotlin.Function1((kotlin.Function1((kotlin.Any, )), )))))))/initialState">initialState</span><span class="symbol">:</span> <span class="identifier">S</span><span class="symbol">, </span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.redux$createReduxStore(kotlin.Function2((pl.treksoft.kvision.redux.createReduxStore.S, pl.treksoft.kvision.redux.createReduxStore.A, )), pl.treksoft.kvision.redux.createReduxStore.S, kotlin.Array((kotlin.Function1((org.reduxkotlin.Store((pl.treksoft.kvision.redux.createReduxStore.S)), kotlin.Function1((kotlin.Function1((kotlin.Any, )), )))))))/middlewares">middlewares</span><span class="symbol">:</span> <span class="identifier">Middleware</span><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">A</span><span class="symbol">></span></code><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <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> <a href="-r-action.html"><span class="identifier">RAction</span></a><span class="symbol">></span> <span class="identifier">createReduxStore</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux$createReduxStore(kotlin.Function2((pl.treksoft.kvision.redux.createReduxStore.S, pl.treksoft.kvision.redux.createReduxStore.A, )), pl.treksoft.kvision.redux.createReduxStore.S, kotlin.Array((kotlin.Any)))/reducer">reducer</span><span class="symbol">:</span> <span class="identifier">Reducer</span><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">A</span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux$createReduxStore(kotlin.Function2((pl.treksoft.kvision.redux.createReduxStore.S, pl.treksoft.kvision.redux.createReduxStore.A, )), pl.treksoft.kvision.redux.createReduxStore.S, kotlin.Array((kotlin.Any)))/initialState">initialState</span><span class="symbol">:</span> <span class="identifier">S</span><span class="symbol">, </span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.redux$createReduxStore(kotlin.Function2((pl.treksoft.kvision.redux.createReduxStore.S, pl.treksoft.kvision.redux.createReduxStore.A, )), pl.treksoft.kvision.redux.createReduxStore.S, kotlin.Array((kotlin.Any)))/middlewares">middlewares</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">A</span><span class="symbol">></span></code></td> </tr> </tbody> </table> |