Handling async jobs
Six states, four of them terminal, and when to stop.
The SDK is not released. What follows uses plain HTTP.
A submit returns 202, which means accepted rather than finished. You follow the job by polling for its status or by receiving a webhook, and you stop as soon as it reaches one of the four terminal states.
The full status table and a bounded polling example are in the route optimisation integration section.