Skip to main content

ticker_cache

Function ticker_cache 

Source
pub fn ticker_cache(ttl: Duration) -> RestCache<TickerKey, Ticker>
Expand description

Build a default RestCache<TickerKey, Ticker> with the supplied TTL.