koin-core / org.koin.core.context / KoinContextHandler

KoinContextHandler

object KoinContextHandler

Help hold any implementation of KoinContext

Functions

get

Retrieve current KoinContext

fun get(): Koin

getOrNull

Retrieve current KoinContext or null

fun getOrNull(): Koin?

register

Register new KoinContext

fun register(koinContext: KoinContext): Unit

start

Start a Koin Application on current KoinContext

fun start(koinApplication: KoinApplication): Unit

stop

Stop current KoinContext & clear it

fun stop(): Unit