Duration

public struct Duration : Encodable
extension Duration: ExpressibleByIntegerLiteral

Period of time (in seconds) used for attempting to retrieve new data from all service data sources. In case sync is not completed within the specified duration, a partial account status will be reported in FileList with SourceFetchDurationQuotaReached error code. Defaults to unlimited duration.

  • Creates an unlimited duration

    Declaration

    Swift

    public static func unlimited() -> Duration

    Return Value

    An unlimited duration

  • Declaration

    Swift

    public init(integerLiteral value: Int)