Function chainhook_sdk::observer::start_observer_commands_handler

source ยท
pub async fn start_observer_commands_handler(
    config: EventObserverConfig,
    chainhook_store: ChainhookStore,
    observer_commands_rx: Receiver<ObserverCommand>,
    observer_events_tx: Option<Sender<ObserverEvent>>,
    ingestion_shutdown: Option<Shutdown>,
    prometheus_monitoring: PrometheusMonitoring,
    observer_sidecar: Option<ObserverSidecar>,
    ctx: Context
) -> Result<(), Box<dyn Error>>