ConsoleInputChannel

constructor(stream: InputStream)

Construct a new ConsoleInputChannel that wraps the specified stream.

Parameters

stream

An input stream. This should generally be System. in.