Skip to main content

//clika-runtime/io.clika.modelverse/TranslateHandle

TranslateHandle

[common]
interface TranslateHandle

A running translation. cancel may be called from any thread; the model library runs the batch to its end, the translations are dropped when it returns, and TranslateListener.onDone arrives with TranslateReport.canceled true.

Properties​

NameSummary
isDone[common]
abstract val isDone: Boolean
True once the listener's terminal call has been made.

Functions​

NameSummary
cancel[common]
abstract fun cancel()