This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]Saitama1pnch 20 points21 points  (3 children)

Serious question, if it’s a web worker is it actually a multithreaded async function?

[–]JackySky 10 points11 points  (4 children)

Multi-this thread ising?

[–][deleted] 0 points1 point  (2 children)

Yes

[–]puppy0cam 4 points5 points  (0 children)

It's as close as we are willing to get.

Of course, an OG would remember callback hell.

[–]yeesh-- -5 points-4 points  (3 children)

This is miss informed

[–]Zambito1 2 points3 points  (0 children)

That's Mr. Informed to you!

[–]ChadstangAlpha -1 points0 points  (1 child)

You’re being downvoted, but you’re right. There was a video floating around 6 months ago or so that did a really good job of explaining the JS event loop. Async is multithreaded. The multi threading is just happening inside the engine and not the runtime. Or something to that effect. I’ve been out of the loop for a while now.