Package-level declarations

Types

Link copied to clipboard
class CompositeLoom(plies: StateFlow<List<Pair<PlyId, Loom>>>, dispatcher: CoroutineContext = Dispatchers.Default, policy: DeliveryPolicy = DeliveryPolicy.Reliable, onPlyFailure: (PlyReconcileException) -> Unit = {}) : Loom

A Loom that weaves one logical session from several constituent Looms ("plies"). The union of plies covers the session's peer set; the list order is a send-preference hint (most-preferred first).

Link copied to clipboard
class PlyReconcileException(val plyId: PlyId, val phase: PlyReconcileException.Phase, val cause: Throwable) : Exception

One ply's failure inside a live CompositeLoom session — attaching, detaching, or processing an inbound frame — raised through CompositeLoom(onPlyFailure = …).