The job result containing jobId and statusUrl from the initial async response
Polling configuration options
The final job status when succeeded
const jobResponse = await DynamicGraphicsRenderClient.templateRender({ source, variations });
const result = await pollDynamicGraphicsJob(jobResponse, {
axiosRequestConfig: { headers },
onProgress: (status) => console.log(`Status: ${status.status}, Progress: ${status.percentCompleted}%`)
});
console.log('Outputs:', result.outputs);
Polls a Dynamic Graphics Render async job until completion