writer(configuration:)
Creates a writer to save this document to disk.
Declaration
func writer(configuration: sending Self.WriteConfiguration) -> sending Self.WriterParameters
- configuration:
The content type of the file being written.
Discussion
Return a FileWrapperDocumentWriter for cases that don’t require custom writing logic, or a DocumentWriter for direct URL access or streaming writes.