<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">abstract </span><spanclass="token keyword">fun </span><spanclass="token operator"><</span><ahref="add.html">I</a><spanclass="token operator"> : </span><ahref="index.html">T</a><spanclass="token operator">></span><ahref="add.html"><spanclass="token function">add</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><ahref="add.html">I</a><spanclass="token operator">></span><spanclass="token punctuation">, </span></span><spanclass="parameter ">strict<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><spanclass="token operator"> = </span><spanclass="token boolean">false</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><ahref="add.html">I</a><spanclass="token punctuation">, </span><ahref="index.html">T</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span></div><pclass="paragraph">Add NON STRICT <ahref="add.html">handler</a> to list of available in future <ahref="index.html">BehaviourContextWithFSM</a>. Non strict means that for input <spandata-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> will be used <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/is-instance.html">KClass.isInstance</a> and any inheritor of <ahref="add.html">kClass</a> will pass this requirement</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="../on-state-or-substate.html"><span>on</span><wbr><span>State</span><wbr><span>Or</span><wbr><span><span>Substate</span></span></a></div></span></div><div></div></div></div></div></div></div>