You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, could the Lua implementation allow access to the settled fulfilled promise values as you can in Javascript's Promise.allSettled?
I am using roblox-ts in my project and I'd like to access the values of my fulfilled promises while the work is done asynchronously, I noticed in this implementation there is only access to the status of the promise and nothing else.
For now, I will chain my promises within the working loop but it would be nice to store the promises in arrays and wait till they all settle rejected or not and for the ones that are fulfilled, I'd like to handle the values.
The text was updated successfully, but these errors were encountered:
My chain in loop isn't even practical because I need to ensure all the promises from my batch are done before moving on to the next batch so for now I will write a custom allSettled function but it would be great to see it implemented officially if this is something you find reasonable
Hello, could the Lua implementation allow access to the settled fulfilled promise values as you can in Javascript's Promise.allSettled?
I am using roblox-ts in my project and I'd like to access the values of my fulfilled promises while the work is done asynchronously, I noticed in this implementation there is only access to the status of the promise and nothing else.
For now, I will chain my promises within the working loop but it would be nice to store the promises in arrays and wait till they all settle rejected or not and for the ones that are fulfilled, I'd like to handle the values.
The text was updated successfully, but these errors were encountered: