Type Alias PayloadFetcher

Source
pub(super) type PayloadFetcher<Types, S, P> = Fetcher<PayloadRequest, PayloadCallback<Types, S, P>>;

Aliased Type§

struct PayloadFetcher<Types, S, P> {
    in_progress: Arc<Mutex<HashMap<PayloadRequest, BTreeSet<PayloadCallback<Types, S, P>>>>>,
    backoff: ExponentialBackoff<SystemClock>,
    permit: Arc<Semaphore>,
}

Fields§

§in_progress: Arc<Mutex<HashMap<PayloadRequest, BTreeSet<PayloadCallback<Types, S, P>>>>>§backoff: ExponentialBackoff<SystemClock>§permit: Arc<Semaphore>