Comment

Comment by modal-soul

This is not true. If your sync function loops until the value is set, then the Promise will never resolve, since it never yields to the event loop.
parent modal-soul 2 years 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