Comment

Comment by timje1

Yup, that's what happens. If you request a postcode that leads to an MP that's not been seen before, it starts generating that MP and saves the ongoing promise, and gives that promise to everyone else to asks for that MP.

Had to make sure to implement this so that I didn't end up generating duplicates.

parent timje1 1 year ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton