Parameters
constructor(id: String, url: URL, refreshInterval: TimeFrame, errorCooldownBaseInterval: TimeFrame? = null)
Parameters
id
The identifier of this refresher. This is used as the key for reading/writing the results to/from
url
The remote location to retrieve an updated version from
refreshInterval
How often to fetch a new version of the resource
errorCooldownBaseInterval
The base interval to increment as a backoff when failures occur during refreshes.