wait_for_sync

Function wait_for_sync 

Source
pub async fn wait_for_sync(
    client: &Client,
    subscription_name: &str,
    timeout_secs: u64,
) -> Result<()>
Expand description

Wait for subscription to complete initial sync and enter streaming state Returns when subscription reaches ‘r’ (ready/streaming) state