eva_common::workers

Function recreate_scheduler

Source
pub async fn recreate_scheduler(
    worker_id: &str,
    trigger: Arc<Notify>,
    interval: Duration,
    instant: bool,
) -> EResult<()>
Expand description

ยงErrors

Will return Err if failed to recreate the worker