var gdjs;(function(i){class l{constructor(){this.tasksWithCallback=new Array}processTasks(e){for(let s=0;s{n.error(`A promise error has not been handled, this should never happen! If you are using JavaScript promises in an asynchronous action, make sure to add a .catch(). Otherwise, report this as a bug on the GDevelop forums! ${s?"The following error was thrown: "+s:""}`)}).then(s=>(this.isResolved=!0,s))}update(){return this.isResolved}}i.PromiseTask=h;class k extends t{constructor(){super(...arguments);this.isResolved=!1}resolve(){this.isResolved=!0}update(){return this.isResolved}}i.ManuallyResolvableTask=k})(gdjs||(gdjs={})); //# sourceMappingURL=AsyncTasksManager.js.map