<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">open </span><spanclass="token keyword"></span><spanclass="token keyword">fun </span><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="add-strict.html">I</a><spanclass="token operator"> : </span><ahref="index.html">T</a><spanclass="token operator">></span><ahref="add-strict.html"><spanclass="token function">addStrict</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">kClass<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="add-strict.html">I</a><spanclass="token operator">></span><spanclass="token punctuation">, </span></span><spanclass="parameter ">handler<spanclass="token operator">: </span><ahref="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="add-strict.html">I</a><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span></div><pclass="paragraph">Add STRICT <ahref="add-strict.html">handler</a> to list of available in future <ahref="index.html">BehaviourContextWithFSM</a>. Strict means that for input <spandata-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> will be used <spandata-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>::class == <ahref="add-strict.html">kClass</a> and any <spandata-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> with exactly the same type will pass requirements</p><h4class="">See also</h4><divdata-togglable="See also"><divclass="table"data-togglable="See also"><divclass="table-row"data-filterable-current=":docs:dokkaHtml/commonMain"data-filterable-set=":docs:dokkaHtml/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><div><ahref="../-behaviour-with-f-s-m-state-handler-holder/index.html"><span>Behaviour</span><wbr></wbr><span>With</span><wbr></wbr><span>FSMState</span><wbr></wbr><span>Handler</span><wbr></wbr><span><span>Holder</span></span></a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":docs:dokkaHtml/commonMain"data-filterable-set=":docs:dokkaHtml/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><div><ahref="../strictly-on.html"><span>strictly</span><wbr></wbr><span><span>On</span></span></a></div></span></div><div></div></div></div></div></div></div></div>