Skip to main content

load

Function load 

Source
pub async fn load<T: SpecTransport>(
    transport: &T,
    config: &CacheConfig<'_>,
    reducer: &ReducerConfig<'_>,
) -> Surface
Expand description

Get the cassette surface for a server, from cache or from the network.

Never fails. See the module docs for the degradation ladder.