Protected ReadonlyloggerProtectedmaxNumber of attempts (including the first) for a discovery fetch on a retryable error.
ProtectedretryBase linear backoff between attempts; multiplied by the number of the attempt that failed.
Protected ReadonlysnapshotProtecteddelayWaits between two attempts. Overridable so a test does not have to.
Discovers the models of one provider. Returns the snapshot with fromCache set when the fetch
failed and there is one, and rejects with the fetch's own error when there is not.
ProtectedlistLists the models, retrying a transient failure with a linear backoff.
Runs a provider's model discovery: asks it what it offers, retries a transient failure, and keeps the answer as a snapshot so the models survive a later failure or an offline start.