FetchSpec

The per-call settings of UrlFetcher.fetch: the receiver of its lambda. Stable Core. Seeded; not thread-safe.

Properties

Link copied to clipboard
var cost: Int

The budget units this fetch charges; 1 by default. At least 1.

Link copied to clipboard
var lane: Lane

The lane this fetch is charged to; Lane.Interactive by default.

Link copied to clipboard

The longest the fetch waits for a budget permit; the fetcher's defaultMaxWait by default. Not negative.