Skip to main content

keep_warm

Function keep_warm 

Source
pub fn keep_warm<S: Send + Sync + 'static>(
    client: &Arc<Client<Native, S>>,
    every: Duration,
) -> JoinHandle<()> ⓘ
Expand description

Warms client every every while anything else holds it, and ends by itself once the last holder lets go. Each warm is Client::warm: one of the lightest reads, never signed.