GroupSessionMessenger.Messages
An asynchronous sequence of messages sent to the session.
Declaration
struct Messages<Message> where Message : Decodable, Message : EncodableOverview
When you use a GroupSessionMessenger to communicate across devices, the Messages structure provides the sequence of messages the other devices send. Iterate over the contents of this structure asynchronously to retrieve each message and update your app.
Don’t create this structure directly. Instead, use the messages(of:) or messages(of:) method to retrieve the messages for a given session.