Aug 28, 2024
isCompleted
: Check if a task is done.setResult
, setException
: Mark task as completed successfully or with an error.continueWith
: Register a callback for task completion.whenAll
: Wait for multiple tasks to complete.delay
: Introduce an asynchronous delay without blocking threads.await
using IAsyncResult
.