pub async fn create_worker_services(
config: Arc<ServerConfig>,
) -> Result<Arc<ServerState<PGConnection, SearchEngineBackend, FHIRCanonicalTerminology>>, OperationOutcomeError>Expand description
The same services for a worker process (one that runs asynchronous jobs): everything a request has, so a job can go through the FHIR client exactly as the request that queued it would have, but never a change to the index’s shape under the running server.