Left

data class Left(val peerId: PeerId, val reason: LeaveReason) : MembershipEvent

A peer left the room: a clean leave, or a transport disconnect after admission. One naming this room itself with LeaveReason.Superseded ends it, and a joiner can end that way before it was ever admitted: a new process reusing a superseded peer id under the same key, refused at its first Hello (Decided 32). It is then the room's only terminal event, in place of AdmissionFailed.

Constructors

Link copied to clipboard
constructor(peerId: PeerId, reason: LeaveReason)

Properties

Link copied to clipboard
Link copied to clipboard