Hacker News new | ask | show | jobs
by gloosx 341 days ago
Dunno, every queue in every major library/project I saw is implemented like this. This is quite readable if you're familiar with js promises.