Skip to main content

run_stream_loop

Function run_stream_loop 

Source
pub async fn run_stream_loop(
    source_id: String,
    config: RisLiveSourceConfig,
    dispatchers: Arc<RwLock<Vec<Box<dyn ChangeDispatcher<SourceEventWrapper> + Send + Sync>>>>,
    state_store: Option<Arc<dyn StateStoreProvider>>,
    shutdown_rx: Receiver<bool>,
) -> Result<()>
Expand description

Runs the resilient streaming loop with reconnect behavior.