<divclass="content sourceset-depenent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/jvmMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator"> : </span><ahref="../../dev.inmo.micro_utils.fsm.common/[jvm]-state/index.html">State</a><spanclass="token operator">></span><ahref="-default-states-manager.html"><spanclass="token function">DefaultStatesManager</span></a><spanclass="token punctuation">(</span>repo<spanclass="token operator">: </span><ahref="../[jvm]-default-states-manager-repo/index.html">DefaultStatesManagerRepo</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span><spanclass="token operator"> = </span>InMemoryDefaultStatesManagerRepo()<spanclass="token punctuation">, </span>onContextsConflictResolver<spanclass="token operator">: </span><spanclass="token keyword">suspend </span><spanclass="token punctuation">(</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token punctuation">)</span><spanclass="token operator"> -></span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><spanclass="token operator"> = </span>{ _, _, _ -> true }<spanclass="token punctuation">)</span><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><h2class="">Parameters</h2><divdata-togglable="Parameters"><divclass="table"data-togglable="Parameters"><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/jvmMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/jvmMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><div><span><span>repo</span></span></div></span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">This repo will be used as repository for storing states. All operations with this repo will happen BEFORE any event will be sent to <ahref="on-chain-state-updated.html">onChainStateUpdated</a>, <ahref="on-start-chain.html">onStartChain</a> or <ahref="on-end-chain.html">onEndChain</a>. By default will be used <ahref="../[jvm]-in-memory-default-states-manager-repo/index.html">InMemoryDefaultStatesManagerRepo</a> or you may create custom <ahref="../[jvm]-default-states-manager-repo/index.html">DefaultStatesManagerRepo</a> and pass as <spandata-unresolved-link="dev.inmo.micro_utils.fsm.common.managers/DefaultStatesManager/&lt;init&gt;/#dev.inmo.micro_utils.fsm.common.managers.DefaultStatesManagerRepo[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]#kotlin.coroutines.SuspendFunction3[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State]),TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State]),TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State]),kotlin.Boolean]/PointingToCallableParameters(0)/">repo</span> parameter</p></div></div></div></div></div><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/jvmMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/jvmMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><div><span>on</span><wbr></wbr><span>Contexts</span><wbr></wbr><span>Conflict</span><wbr></wbr><span><span>Resolver</span></span></div></span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">Receive old <ahref="../../dev.inmo.micro_utils.fsm.common/[jvm]-state/index.html">State</a>, new one and the state currentl