koin-core / org.koin.core.context / GlobalContext

GlobalContext

object GlobalContext

Global context - current Koin Application available globally

Support to help inject automatically instances once KoinApp has been started

Functions

get

fun get(): KoinApplication

StandAlone Koin App instance

getOrNull

fun getOrNull(): KoinApplication?

StandAlone Koin App instance

start

fun start(koinApplication: KoinApplication): Unit

Start a Koin Application as StandAlone

stop

fun stop(): Unit

Stop current StandAlone Koin application