KetraTerm
API · DevelopmentAll versions

TerminalCompletionSourceFailureHandler

Receives original non-cancellation failures from merged completion sources. Ordinary exceptions are isolated; unexpected errors are reported before they fail collection and cancel sibling sources.

Implementations must be thread-safe, return promptly, and must not throw. Different source child coroutines may report concurrently while the merged engine collects the remaining sources.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun sourceFailed(sourceIndex: Int, source: TerminalCompletionSourceEntry, failure: Throwable)

Reports one failed source evaluation.