SwiftstructDataFlow

struct DataFlow.ChangeObservationContext

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 4

  1. fieldlet changeHandler: @MainActor @Sendable (B, B) -> ()
  2. fieldlet currentValue: B
  3. fieldlet keyPath: KeyPath<DataFlow.Store<A>, B>+0x0
  4. typealiastypealias F = A
struct ChangeObservationContext<A, B> where A: DataFlow.Feature, B: Swift.Equatable {
    let keyPath: Swift.KeyPath<DataFlow.Store<A>, B>
    let currentValue: B
    let changeHandler: @Swift.MainActor @Sendable (B, B) -> ()
}