TextOutputChannel

interface TextOutputChannel : AsynchronousChannel

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

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.

Inheritors

Link copied to clipboard
Link copied to clipboard