pub fn spawn_executor(
pool: &Pool<Postgres>,
sched: &Scheduler,
executor_config: &ExecutorConfig,
) -> JoinHandle<()>Expand description
Spawn a tokio task that periodically calls crate::executor::schedule_and_run_tasks every second
and makes progress on pending flows.