Observations
An asychronous sequence generated from a closure that tracks the transactional changes of @Observable types.
Declaration
struct Observations<Element, Failure> where Element : Sendable, Failure : ErrorOverview
Observations conforms to AsyncSequence, providing a intutive 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.