TKDeparturesProvider
extension TKDeparturesProvider
-
Undocumented
Declaration
Swift
public class func fetchDepartures(forStopCodes stopCodes: [String], fromDate: Date, filters: [Filter] = [], limit: Int = 10, in region: TKRegion) -> Single<TKAPI.Departures>
-
Undocumented
Declaration
Swift
public class func downloadDepartures(for stops: [StopLocation], fromDate: Date, filters: [Filter] = [], limit: Int = 10) -> Single<Bool>
-
Undocumented
Declaration
Swift
public class func streamDepartures(forStopCodes stopCodes: [String], limit: Int = 10, in region: TKRegion, repeatHandler: ((Int?, TKAPI.Departures) -> TimeInterval?)? = nil) -> Observable<TKAPI.Departures>
-
Undocumented
Declaration
Swift
public class func fetchDepartures(for table: TKDLSTable, fromDate: Date = Date(), limit: Int = 10) -> Single<TKAPI.Departures>
-
Undocumented
Declaration
Swift
public class func downloadDepartures(for table: TKDLSTable, fromDate: Date, limit: Int = 10) -> Single<Set<String>>