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
if you put 1000 functions into a queue, will the memory for each be managed along the way or will they all be garbage collected after all promises are resolved?
The text was updated successfully, but these errors were encountered:
Can you show an example of what you mean? Are you talking about the limit() function or the function passed to limit()? If the former, it's up to you how long it's stored. If you use Promise.all(), it's stored until the end. If the latter, it's released after being called, so along the way.
if you put 1000 functions into a queue, will the memory for each be managed along the way or will they all be garbage collected after all promises are resolved?
The text was updated successfully, but these errors were encountered: