SwiftprotocolPhotosSwiftUICore

protocol PhotosSwiftUICore.PhotosPrefetchable.Persistence

Members 4

  1. associatedtypeassociatedtype State
  2. funcmethod descriptor for load() async throws -> A.State?
  3. funcmethod descriptor for save(state: A.State) async throws -> ()
  4. initmethod descriptor for init(key: String) -> A
protocol PhotosSwiftUICore.PhotosPrefetchable.Persistence where Self.State: Swift.Decodable, Self.State: Swift.Encodable {
    associatedtype State

    init(key: Swift.String)

    func load() async throws -> Self.State?
    func save(state: Self.State) async throws
}