Snapshot
The type representing the document’s content after reading.
Declaration
associatedtype SnapshotDiscussion
This can be any type: a String, a custom struct, or even the document type itself. SwiftUI delivers it to apply(snapshot:previous:) on the main actor after reading completes.