Polls a Storage and Collaboration async job until completion
The job ID from the initial async response
Polling configuration options
The final job status when succeeded
If max attempts or timeout is reached
If the job fails
const result = await pollStorageJob(jobId, { axiosRequestConfig: { headers } }); Copy
const result = await pollStorageJob(jobId, { axiosRequestConfig: { headers } });
Polls a Storage and Collaboration async job until completion