TextInterface

class TextInterface(    val inputChannel: TextInputChannel,     val outputChannel: TextOutputChannel,     val errorChannel: TextOutputChannel)

A TextInterface represents an interface between an external process, device, or user and an Avail agent (e.g., an AvailBuilder or fiber). As such, it combines input, output, and error channels, corresponding to the usual notions of standard input, output, and error, respectively. These channels are each text-oriented, and constrained to operate on UTF-8 encoded character data.

Author

Todd L Smith

Parameters

inputChannel
outputChannel
errorChannel

The standard error channel.

Constructors

Link copied to clipboard
fun TextInterface(    inputChannel: TextInputChannel,     outputChannel: TextOutputChannel,     errorChannel: TextOutputChannel)

Construct a new TextInterface.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val errorChannel: TextOutputChannel
Link copied to clipboard
val inputChannel: TextInputChannel
Link copied to clipboard
val outputChannel: TextOutputChannel