From Dev.to
PDF Job Status Polling: Node.js Backoff, Timeout, and 3 Audit Boundaries
Short answer: poll each PDF job by its ID with exponential backoff, stop at a fixed deadline, and write the resulting terminal state to the consent record. For a healthtech service, that control loop...
