Contents

init(fetchDescriptor:modelContext:isolation:)

Creates a new unsectioned observer with the given fetch descriptor and model context.

Declaration

convenience init(fetchDescriptor: FetchDescriptor<Element> = FetchDescriptor<Element>(), modelContext: ModelContext, isolation: isolated (any Actor)? = #isolation) throws

Parameters

  • fetchDescriptor:

    The descriptor defining the fetch criteria.

  • modelContext:

    The model context to fetch from and observe for changes.

Discussion

See Also

Creating a results observer with a fetch descriptor