TerminalCall

interface TerminalCall<T>

Java-friendly handle for an in-flight Terminal API operation.

Cancelling this handle is local caller cancellation: it marks the call done, marks it cancelled, and suppresses future callback delivery. For transaction execution, the SDK also makes a best-effort request to cancel the terminal execution when the Terminal service is available. User or terminal cancellation remains a transaction result, not a TerminalCall cancellation.

Functions

Link copied to clipboard
abstract fun cancel()
Link copied to clipboard
abstract fun isCancelled(): Boolean
Link copied to clipboard
abstract fun isDone(): Boolean