pub async fn handle_scheduler_command( command: SchedulerCommands, node_url: &str, finalized: bool, ) -> Result<()>
Handle scheduler commands