ControllableSeam

A Seam produced by ControllableLoom. Delivery is controlled by the parent loom; callers interact with it identically to any other Seam.

Properties

Link copied to clipboard
open override val incoming: Flow<Swatch>
Link copied to clipboard
open override val peers: StateFlow<Set<PeerId>>
Link copied to clipboard
open val plies: StateFlow<Map<PlyId, SeamState>>
Link copied to clipboard
open override val selfId: PeerId
Link copied to clipboard
open override val state: StateFlow<SeamState>

Functions

Link copied to clipboard
open suspend override fun broadcast(payload: ByteArray)
Link copied to clipboard
open suspend override fun close(reason: CloseReason)
Link copied to clipboard
open suspend override fun sendTo(peer: PeerId, payload: ByteArray)