Remix.run Logo
repelsteeltje 4 hours ago

Beware, they are different concepts.

Threads offer concurrent execution, async (futures) offer concurrent waiting. Loosely speaking, threads make sense for CPU bound problems, while async makes sense for IO bound problems.

groundzeros2015 6 minutes ago | parent [-]

Why? You write the same code with async await but with a keyword at the beginning of every function.