OutputChannel

interface OutputChannel<T> : Channel<T>, Any

Methods

write

abstract fun write(value: T)

Parameters

Name Description
value: T

ReturnValue

Name Description
Unit

CompanionObject

OutputChannel

interface OutputChannel<T> : Channel<T>, Any

Methods

stdOut

fun <T> stdOut(): OutputChannel<T>

ReturnValue

Name Description
OutputChannel<T>

stdErr

fun <T> stdErr(): OutputChannel<T>

ReturnValue

Name Description
OutputChannel<T>

of

fun <T> of(consumer: (T)->Unit): OutputChannel<T>

Parameters

Name Description
consumer: (T)->Unit

ReturnValue

Name Description
OutputChannel<T>