Transcoding, Open Source, Open Source Cloud, JavaScript.
'application/json' } }); const job = JSON.parse(data); if (job.status === 'SUCCESSFUL') { return job; } await delay(10000); } } Then we add that we will wait for the job to be completed before we continue. const job = await waitForEncoreJobToComplete( new URL(encoreJobUrl.toString() + '/' +