Contents

Snapshot

The type representing the document’s content to write.

Declaration

associatedtype Snapshot

Discussion

This is the same type returned by snapshot(contentType:). It crosses an actor boundary (from main actor to background), so use sending annotations or make it Sendable.

See Also

Writing a document