<divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">open </span><spanclass="token keyword">override </span><spanclass="token keyword">fun </span><spanclass="token operator"><</span><spanclass="token keyword"></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 wrapped"><spanclass="parameter indented"> 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.html">I</a><spanclass="token operator">></span><spanclass="token punctuation">, </span></span><spanclass="parameter indented"> strict<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><spanclass="token punctuation">, </span></span><spanclass="parameter indented"> 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.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><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><pclass="paragraph">Add NON STRICT <ahref="add.html">handler</a> to list of available in future <ahref="../-behaviour-context-with-f-s-m/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><h2class="">See also</h2><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>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><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><divclass="title"><divdata-togglable="See also"></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="on-state-or-substate.html"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Default</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>Context</span><wbr></wbr><span>With</span><wbr></wbr><span><span>FSM</span></span></a></div></span></div><div><divclass="title"><divdata-togglable="See also"></div></div></div></div></div></div></div></div></div>