continuation

The rest of a method that is scheduled to run once an awaited task completes.

In more detail

Continuations are how async code resumes without keeping a thread blocked in the meantime. When a task has not finished, await registers the continuation and returns to the caller, freeing the thread; the continuation later resumes on the line after the await.

Related terms

Taught in

References