Category: Data

Of course, this is the continuation of my previous articles on asynchronous programming.

Also, We look at how to submit a task and how is it processed internally in the executor.

In simple words, a Future is a token of task creation and comes with various methods to check if the computation is complete, to wait for its completion, and to retrieve the result of the computation.

If successful, and this task has not started when cancel is called, this task should never run.

Related Articles