Limits

public struct Limits : Encodable

Undocumented

  • Initializes a Limits object with a duration

    The duration can either be specified as a Duration object or an Int:

    let limits = Limits(duration: 9)
    let limits = Limits(duration: Duration.unlimited())
    

    Declaration

    Swift

    public init(duration: Duration)

    Parameters

    duration

    The duration, in seconds, allowed for retrieving new content from all sources