Skip to main content

register_worker

Function register_worker 

Source
pub async fn register_worker<'a, E>(
    executor: E,
    config: &Config,
    worker: &WorkerContext,
    storage_type: &str,
) -> Result<(), Error>
where E: Executor<'a, Database = Sqlite>,
Expand description

Register a new worker in the database