Hacker News new | ask | show | jobs
by a-priori 343 days ago
You'll need to flatten the promise periodically if you use this approach, otherwise your performance will degrade a bit each time you enqueue something.