Avatar
Avatar
shiz
@swift-5.9.2 import _Observation public final class MyObject: Observable { public var someProperty: String = "AAAA" public var someOtherProperty: Int = 0 let observationRegistrar = ObservationRegistrar<MyObject>() public func changes<Isolation>(for properties: TrackedProperties<MyObject>, isolatedTo isolation: Isolation) -> ObservedChanges<MyObject, Isolation> where Isolation : Actor { observationRegistrar.changes(for: properties, isolatedTo: isolation) } public func values<Member>(for keyPath: KeyPath<MyObject, Member>) -> ObservedValues<MyObject, Member> where Member : Sendable { observationRegistrar.values(for: keyPath) } }
no output