<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GroupActivities",
  "identifier" : "/documentation/GroupActivities/GroupSession/Sessions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Group Activities",
      "GroupActivities"
    ],
    "preciseIdentifier" : "s:15GroupActivities0A7SessionC8SessionsV"
  },
  "title" : "GroupSession.Sessions"
}
-->

# GroupSession.Sessions

An asynchronous sequence of sessions you use to manage a specific activity.

```
struct Sessions
```

## Overview

When a participant engages one of your app’s activities, a `Sessions`
structure provides the session you use to handle
synchronization. Iterate over the contents of this structure asynchronously
to retrieve each new session the system delivers to your app. The system
delivers only one [`GroupSession`](/documentation/GroupActivities/GroupSession) for each activity. To monitor changes
to that session, configure subscribers to its published properties.

Don’t create this structure directly. Instead, use the [`sessions()`](/documentation/GroupActivities/GroupActivity/sessions())
method to retrieve the sessions.

## Topics

### Creating an iterator

[`struct Iterator`](/documentation/GroupActivities/GroupSession/Sessions/Iterator)

### Finding elements

### Selecting elements

### Excluding elements

### Transforming a sequence

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`AsyncSequence`](/documentation/Swift/AsyncSequence)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)