TKTripFetcher

public enum TKTripFetcher

Undocumented

  • Undocumented

    Declaration

    Swift

    public static func downloadTrip(_ url: URL, identifier: String? = nil, into context: NSManagedObjectContext, completion: @escaping (Result<Trip, Error>) -> Void)
  • Undocumented

    Declaration

    Swift

    public static func downloadTrip(_ url: URL, identifier: String? = nil, into context: NSManagedObjectContext) async throws -> Trip
  • Undocumented

    Declaration

    Swift

    public static func update(_ trip: Trip, url: URL? = nil, aborter: @escaping ((URL) -> Bool) = { _ in false }, completion: @escaping (Result<(Trip, URL, didUpdate: Bool), Error>) -> Void)
  • update(_:url:aborter:) Asynchronous

    Undocumented

    Declaration

    Swift

    public static func update(_ trip: Trip, url: URL? = nil, aborter: @escaping ((URL) -> Bool) = { _ in false }) async throws -> (Trip, URL, didUpdate: Bool)