SwiftinitSwiftDataSwiftData.HistoryObserver

init

SwiftData.HistoryObserver.__allocating_init(historyTokens: [String : SwiftData.HistoryToken]?, observedModels: [SwiftData.PersistentModel.Type], authors: Set<String>, includeRelatedModels: Bool, modelContainer: SwiftData.ModelContainer, isolation: isolated Actor?) throws -> SwiftData.HistoryObserver

Structure

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

param{}

  1. 0historyTokens:
  2. 1observedModels:
  3. 2authors:
    structSwift.Set
  4. 3includeRelatedModels:
  5. 4modelContainer:
  6. 5isolation:
    enumSwift.Optionalisolated