Contents

read(from:progress:)

Reads the document from disk.

Declaration

nonisolated func read(from source: sending Self.Source, progress: consuming Subprogress) async throws -> sending Self.Snapshot

Parameters

  • source:

    The source to read from.

  • progress:

    The subprogress to report reading progress to SwiftUI.

See Also

Reading a document