Kind: Function
Get screenshot worker client configuration from environment variables
Environment variables:
- SCREENSHOT_WORKER_URL: Base URL of the worker service (default: http://localhost:3000)
- SCREENSHOT_WORKER_TIMEOUT: Job completion timeout in ms (default: 300000)
- SCREENSHOT_WORKER_POLL_INTERVAL: Poll interval in ms (default: 2000)
Signature
tsfunction getWorkerConfig(): ScreenshotWorkerClientConfig
Returns: ScreenshotWorkerClientConfig
Was this page helpful?