BufferedDecryptedMessage
public enum BufferedDecryptedMessage
extension BufferedDecryptedMessage: Sendable
A decrypted message that was buffered due to out-of-order delivery by the delivery service. It represents messages for the new epoch that arrived before the commit that created it.
-
The decrypted message is a text message.
Declaration
Swift
case text( /** * Decrypted text message. */plaintext: Data, /** * The sender's `ClientId`. */senderClientId: ClientId, /** * Identity claims present in the sender credential. */identity: WireIdentity ) -
The decrypted message is a commit.
Declaration
Swift
case commit( /** * False if processing this message caused the client to be removed from the group, i.e. due to a Remove * commit. */isActive: Bool, /** * Identity claims present in the sender credential. */identity: WireIdentity ) -
The decrypted message is a proposal.
Declaration
Swift
case proposal( /** * Commit delay in seconds. * * When set, clients must delay by this time interval before processing a commit. This reduces load on the * backend, which otherwise would receive epoch change notifications from all clients simultaneously. */delay: UInt64?, /** * Identity claims present in the sender credential. */identity: WireIdentity )