<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">object </span><ahref="index.html">StartLauncherPlugin</a> : <ahref="../../dev.inmo.micro_utils.startup.plugin/-start-plugin/index.html">StartPlugin</a><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/InsanusMokrassar/MicroUtils/blob/master//startup/launcher/src/commonMain/kotlin/StartLauncherPlugin.kt#L29">source</a>)</span></span></div><pclass="paragraph">Default startup plugin. See <ahref="setup-d-i.html">setupDI</a> and <ahref="start-plugin.html">startPlugin</a> for more info</p></div></div>
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">suspend </span><spanclass="token keyword">fun </span><ahref="start.html"><spanclass="token function">start</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">config<spanclass="token operator">: </span><ahref="../-config/index.html">Config</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><spandata-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span></div><divclass="brief "><pclass="paragraph">Call <ahref="start.html">start</a> with deserialized <ahref="../-config/index.html">Config</a> as is and serialize it to <spandata-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">JsonObject</span> to pass as the first parameter to the basic <ahref="start.html">start</a> method</p></div><divclass="symbol monospace"><spanclass="token keyword">suspend </span><spanclass="token keyword">fun </span><ahref="start.html"><spanclass="token function">start</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">rawConfig<spanclass="token operator">: </span><spandata-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">JsonObject</span></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><spandata-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span></div><divclass="brief "><pclass="paragraph">Call <ahref="start.html">start</a> with deserialized <ahref="../-config/index.html">Config</a> as config and <ahref="start.html">rawConfig</a> as is</p></div><divclass="symbol monospace"><spanclass="token keyword">suspend </span><spanclass="token keyword">fun </span><ahref="start.html"><spanclass="token function">start</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">config<spanclass="token operator">: </span><ahref="../-config/index.html">Config</a><spanclass="token punctuation">, </span></span><spanclass="parameter ">rawConfig<spanclass="token operator">: </span><spandata-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">JsonObject</span></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><spandata-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span></div><divclass="brief "><pclass="paragraph">Will create KoinApplication, init, load modules using <ahref="index.html">StartLauncherPlugin</a> and start plugins using the same base plugin. It is basic <ahref="start.html">start</a> method which accepts both <ahref="start.html">config</a> and <ahref="start.html">rawConfig</a> which suppose to be the same or at least <ahref="start.html">rawConfig</a> must contain serialized variant of <ahref="start.html">config</a></p></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">open </span><spanclass="token keyword">suspend override </span><spanclass="token keyword">fun </span><ahref="start-plugin.html"><spanclass="token function">startPlugin</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">koin<spanclass="token operator">: </span><spandata-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span></span></span><spanclass="token punctuation">)</span></div><divclass="brief "><pclass="paragraph">Takes <spandata-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> and <ahref="../-config/index.html">Config</a> from the <ahref="start-plugin.html">koin</a>, and call starting of each plugin from <ahref="../-config/plugins.html">Config.plugins</a> ASYNCHRONOUSLY. Just like in <ahref="setup-d-i.html">setupDI</a>, in case of fail in some plugin it will be reported using <spandata-unresolved-link="dev.inmo.micro_utils.startup.launcher/StartLauncherPlugin/logger/#/PointingToDeclaration/">logger</span></p></div></div></div>