MergeableMessage
public protocol MergeableMessage
Represents the ability to consolidate two messages into a single message.
After merging with another message, only self
will be delivered. (other
will be discarded.)
-
Merges
other
intoself
.Declaration
Swift
mutating func merge(_ other: Self)