setReaderDisplay
Parameters
cart
The cart information to display on the reader
See also
Sets the reader display to show cart information.
This suspend function integrates with Kotlin's structured concurrency.
Example usage:
val job = coroutineScope.launch {
try {
terminal.setReaderDisplay(cart)
// Handle successful display update
} catch (e: TerminalException) {
// Handle display update failure
}
}Content copied to clipboard
Throws
if the operation fails