News for hackers. Stuff that matters.
Re:Ask HN: What are some cool but obscure data structures yo... by zamalek on Friday July 22, 2022 @11:25AM (#32192975)
> 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.

There are no comments on this comment yet.