Comment

Comment by cookiesboxcar

Serious question: what is considered async?

From the site, I get that add(1+1) doesn't require a callback, whereas downloadFile(url) does.

What about somethingHarderThanAddition(noExternalDependency)?

My question is, what is the threshold that I can assume that my code will run sync, and when it cant?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton