<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Observation/Observations",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Observation"
    ],
    "preciseIdentifier" : "s:11Observation12ObservationsV"
  },
  "title" : "Observations"
}
-->

# Observations

An asynchronous sequence generated from a closure that tracks the transactional changes of `@Observable` types.

```
struct Observations<Element, Failure> where Element : Sendable, Failure : Error
```

## Overview

`Observations` conforms to `AsyncSequence`, providing an intuitive and safe mechanism to track changes to
types that are marked as `@Observable` by using Swift Concurrency to indicate transactional boundaries
starting from the willSet of the first mutation to the next suspension point of the safe access.

## Relationships

### Conforms To

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

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

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

---

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)