Comment

Comment by aurareturn

No, that's not possible.

Console.log(a) will always run and finish before your async function finishes in the example that you want.

parent aurareturn 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton