Skip to main content

VendureWorker

This object is created by calling the bootstrapWorker function.

Signature

app

propertyINestApplicationContext

A reference to the INestApplicationContext object, which represents the NestJS standalone application instance.

constructor

method(app: INestApplicationContext) => VendureWorker

startJobQueue

method() => Promise<VendureWorker>

Starts the job queues running so that the worker can handle background jobs.

startHealthCheckServer

method(healthCheckConfig: WorkerHealthCheckConfig) => Promise<VendureWorker>v1.2.0

Starts a simple http server which can be used as a health check on the worker instance. This endpoint can be used by container orchestration services such as Kubernetes to verify whether the worker is running.

Was this chapter helpful?
Report Issue
Edited Feb 25, 2026ยทEdit this page