KrchContextJVM

class KrchContextJVM<R : KrchContext.Command>(scope: CoroutineScope) : KrchContextJVMAndroid<R>

Constructors

Link copied to clipboard
constructor(scope: CoroutineScope)

Properties

Link copied to clipboard
open val configFilePath: Path
Link copied to clipboard
Link copied to clipboard
open override val coroutineContextIO: ERROR CLASS: Symbol not found for CoroutineContext
Link copied to clipboard
open override val coroutineContextMain: ERROR CLASS: Symbol not found for CoroutineContext
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val rootCommand: R
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val scope: CoroutineScope

Functions

Link copied to clipboard
open override fun getEnv(name: String): String?
Link copied to clipboard
fun KrchContext<*>.main(cmdLineArgs: Array<String>, commandMap: CommandMap)
Link copied to clipboard
open fun pathToSink(path: String): Sink
Link copied to clipboard
open fun pathToSource(path: String): Source
Link copied to clipboard
Link copied to clipboard
fun registerStopHandler(handler: () -> Unit)
Link copied to clipboard
fun runInBackground(coroutineContext: CoroutineContext = coroutineContextDefault, block: suspend CoroutineScope.() -> Unit)
Link copied to clipboard
fun <T> runInForeground(block: suspend CoroutineScope.() -> T): T
Link copied to clipboard
open override fun threadName(): String
Link copied to clipboard
suspend fun waitForAllToFinish()