Observations
struct · iOS 26.0+ · SDK 27.1
struct Observations<Element, Failure> where Element : Sendable, Failure : ErrorAn asynchronous sequence generated from a closure that tracks the transactional changes of `@Observable` types. `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.
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
Observations.init(_:)
synchronous callback requires a nonescaping JS-thread call
Observations.untilFinished(_:)
synchronous callback requires a nonescaping JS-thread call