Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> If the original promise fails you're gonna return a cached failure.

In the scenario where that's an issue, you would need to add (extremely trivial 3-5 lines) logic to handle retrying a cached failure. The underlying data structure would continue to be a promise map.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: