All jobs / Backend developer

Backend developer interview question · 1–3 years

What does await actually do?

The strongest answer

It returns control to the caller while the operation is in flight and resumes the rest of the method when it completes — the thread is released rather than blocked, which is why a server scales

Why it works

Exactly. Freeing the thread, not adding one, is the point.

What a good answer covers

Answers that fall short

Who gets asked this

More Backend developer questions