Contents

init(_:makeFileWrapper:)

Creates a writer that uses FileWrapper to write documents to disk.

Declaration

init(_ configuration: sending FileWrapperDocumentWriter<Snapshot>.WriteConfiguration, makeFileWrapper: @escaping (Snapshot) async throws -> FileWrapper)

Parameters

  • configuration:

    Properties required to write a document to disk.

  • makeFileWrapper:

    Serializes a Snapshot into a FileWrapper.

See Also

Creating a writer