Skip to main content

WarmingProvider

Type Alias WarmingProvider 

Source
pub type WarmingProvider<T> = Box<dyn Fn() -> Pin<Box<dyn Future<Output = CacheResult<Vec<(CacheKey, T)>>> + Send>> + Send + Sync>;
Expand description

Function type for warming data providers

Aliased Typeยง

pub struct WarmingProvider<T>(/* private fields */);