CommitBundle

public struct CommitBundle
extension CommitBundle: Sendable

Information returned when a commit is created.

  • A welcome message if there are pending Add proposals

    Declaration

    Swift

    public var welcome: Welcome?
  • The commit message

    Declaration

    Swift

    public var commit: Data
  • GroupInfo if the commit is merged

    Declaration

    Swift

    public var groupInfo: GroupInfoBundle
  • An encrypted message to fan out to all other conversation members in the new epoch

    Declaration

    Swift

    public var encryptedMessage: Data?
  • Undocumented

    Declaration

    Swift

    public init(
        /**
         * A welcome message if there are pending Add proposals
         */welcome: Welcome?, 
        /**
         * The commit message
         */commit: Data, 
        /**
         * `GroupInfo` if the commit is merged
         */groupInfo: GroupInfoBundle, 
        /**
         * An encrypted message to fan out to all other conversation members in the new epoch
         */encryptedMessage: Data?)