pub async fn register_worker<E>(
conn: &mut E,
queue: &str,
worker: &WorkerContext,
last_seen: &Timestamp,
backend_type: &str,
) -> Result<(), Error>Expand description
Register a worker in the database
Errors if worker already exists