Transcoding, Open Source, Open Source Cloud, JavaScript.
const instance = await createInstance( ctx, 'encore', sat, { name: 'example' } ); await delay(5000); Before we continue we add a 5 second delay to ensure that the instance has been created. The delay() function is implemented as below. const delay = (ms) => new Promise((res) => setTimeout(res,