TextOutputChannel

TextOutputChannel provides a wrapper for a standard output stream, e.g., System.out and System.err, that is as asynchronous as possible.

Author

Todd L Smith

Inheritors

Functions

Link copied to clipboard
abstract override fun close()
Link copied to clipboard
abstract fun isOpen(): Boolean
Link copied to clipboard
abstract fun <A> write(buffer: CharBuffer, attachment: A?, handler: CompletionHandler<Int, A>)

Writes a sequence of characters to this TextOutputChannel from the given buffer.

abstract fun <A> write(data: String, attachment: A?, handler: CompletionHandler<Int, A>)

Writes a sequence of characters to this TextOutputChannel from the given string.