disconnectReader

See also

Disconnects from the currently connected reader.

Example usage:

try {
terminal.disconnectReader()
// Handle successful disconnection
} catch (e: TerminalException) {
// Handle disconnection failure
}

Throws

if the disconnection operation fails