<h2class="">Parameters</h2><divdata-togglable="Parameters"><divclass="platform-hinted WithExtraAttributes"data-platform-hinted="data-platform-hinted"data-togglable="Parameters"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><divdata-togglable="Parameters"><divclass="table"data-togglable="Parameters"><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><span><span>repo</span></span></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="../[common]-in-memory-default-states-manager-repo/index.html">InMemoryDefaultStatesManagerRepo</a> or you may create custom <ahref="../[common]-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/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><span>on</span><wbr></wbr><span>Contexts</span><wbr></wbr><span>Conflict</span><wbr></wbr><span><span>Resolver</span></span></span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">Receive old <ahref="../../dev.inmo.micro_utils.fsm.common/[common]-state/index.html">State</a>, new one and the state currently placed on new <ahref="../../dev.inmo.micro_utils.fsm.common/[common]-state/context.html">State.context</a> key. In case when this callback will returns true, the state placed on <ahref="../../dev.inmo.micro_utils.fsm.common/[common]-state/context.html">State.context</a> of new will be replaced by new state by using <ahref="end-chain.html">endChain</a> with that state</p></div></div></div></div></div></div></div></div></div></div></div>