KrchContextNative

class KrchContextNative<R : KrchContext.Command>(scope: CoroutineScope) : KrchContext<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
Link copied to clipboard
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
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
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()