start

suspend fun start(config: Config, rawConfig: JsonObject)

Will create KoinApplication, init, load modules using StartLauncherPlugin and start plugins using the same base plugin. It is basic start method which accepts both config and rawConfig which suppose to be the same or at least rawConfig must contain serialized variant of config

Parameters

rawConfig

It is expected that this JsonObject will contain serialized Config (StartLauncherPlugin will deserialize it in its StartLauncherPlugin.setupDI


suspend fun start(rawConfig: JsonObject)

Call start with deserialized Config as config and rawConfig as is

Parameters

rawConfig

It is expected that this JsonObject will contain serialized Config


suspend fun start(config: Config)

Call start with deserialized Config as is and serialize it to JsonObject to pass as the first parameter to the basic start method

Parameters

config

Will be converted to JsonObject as raw config. That means that all plugins from config will receive serialized version of config in StartPlugin.setupDI method