<divclass="content sourceset-depenent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/androidMain"><divclass="symbol monospace"><spanclass="token keyword">abstract </span><spanclass="token keyword">suspend </span><spanclass="token keyword">fun </span><ahref="../[android]-states-machine/index.html">StatesMachine</a><spanclass="token operator"><</span><spanclass="token keyword">in </span><ahref="index.html">O</a><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="handle-state.html"><spanclass="token function">handleState</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">state<spanclass="token operator">: </span><ahref="index.html">I</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="index.html">O</a><spanclass="token operator">?</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">Main handling of <ahref="handle-state.html">state</a>. In case when this <ahref="handle-state.html">state</a> leads to another <ahref="../[android]-state/index.html">State</a> and <ahref="handle-state.html">handleState</a> returns not null <ahref="../[android]-state/index.html">State</a> it is assumed that chain is not completed.</p></div></div>