<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":tgbotapi.behaviour_builder.fsm:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword">inline </span><spanclass="token keyword">fun </span><spanclass="token operator"><</span><ahref="strictly-on.html">I</a><spanclass="token operator"> : </span><ahref="strictly-on.html">O</a><spanclass="token punctuation">, </span><ahref="strictly-on.html">O</a><spanclass="token operator"> : </span><spandata-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span><spanclass="token operator">></span><ahref="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><spanclass="token operator"><</span><ahref="strictly-on.html">O</a><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="strictly-on.html"><spanclass="token function">strictlyOn</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">handler<spanclass="token operator">: </span><ahref="-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><spanclass="token operator"><</span><ahref="strictly-on.html">I</a><spanclass="token punctuation">, </span><ahref="strictly-on.html">O</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span></div><pclass="paragraph">Add STRICT <ahref="strictly-on.html">handler</a> to list of available in future <ahref="-behaviour-context-with-f-s-m/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 == kClass 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><divclass="table"><divclass="table-row"data-filterable-current=":tgbotapi.behaviour_builder.fsm:dokkaHtmlPartial/commonMain"data-filterable-set=":tgbotapi.behaviour_builder.fsm:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="-behaviour-with-f-s-m-state-handler-holder/index.html"><span>Behaviour</span><wbr><span>With</span><wbr><span>FSMState</span><wbr><span>Handler</span><wbr><span><span>Holder</span></span></a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":tgbotapi.behaviour_builder.fsm:dokkaHtmlPartial/commonMain"data-filterable-set=":tgbotapi.behaviour_builder.fsm:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="-behaviour-context-with-f-s-m/add-strict.html"><span>Behaviour</span><wbr><span>Context</span><wbr><span>With</span><wbr><span>FSM.</span><wbr><span>addStrict</span></a></div></span></div><div></div></div></div></div></div></div>