pub fn new(config: &InvokerConfig) -> anyhow::Result<Self> {
        let config = serde_json::to_string(&config).context("failed to serialize InvokerConfig")?;
        Ok(Scheduler {
            workers: vec![],
            config,
            worker_reclamation: multiwake::multiwake(),
        })
    }
/// Creates new Scheduler with empty `workers` set
Creates new Scheduler with empty `workers` set
Creates new Scheduler with empty ` workers ` set
pub fn new(config: &InvokerConfig) -> anyhow::Result<Self> {
        let config = serde_json::to_string(&config).context("failed to serialize InvokerConfig")?;
        Ok(Scheduler {
            workers: vec![],
            config,
            worker_reclamation: multiwake::multiwake(),
        })
    }
pub fn new ( config : & InvokerConfig ) -> anyhow :: Result < Self > { let config = serde_json :: to_string ( & config ) . context ( " " ) ? ; Ok ( Scheduler { workers : vec ! [ ] , config , worker_reclamation : multiwake :: multiwake ( ) , } ) }
Creates new Scheduler with empty `workers` set
Creates new Scheduler with empty ` workers ` set
config
&InvokerConfig