run_tasks_forever

Function run_tasks_forever 

Source
pub async fn run_tasks_forever(tasks: Vec<CronTask>, max_parallelism: usize)
Expand description

Runs a collection of CronTasks indefinitely.

This function continuously checks for tasks that are due to run, spawns them, and manages their execution, ensuring that max_parallelism is not exceeded.