Asynchronous Tasks
Asynchronous tasks run in the background and evaluate functions asynchronously when there is an event. Asynchronous tasks may run only until some work is completed, or they may be designed to run indefinitely. This tutorial describes how to interact with asynchronous tasks.
Asynchronous task operations.
Normally, there are no asynchronous tasks.
| Out[1]= |  |
You can list asynchronous tasks that are running. They will be removed from the list when they complete.
| Out[2]= |  |
| Out[2]= |  |
Once the dialog telling you the download is complete appears, you can examine the response.
Out[3]//Short= |
| |  |
| Out[3]= |  |
Start a download that takes some time to complete.
| Out[4]= |  |
| Out[4]= |  |
Stop asynchronous evaluations, including progress updates.
Restart the asynchronous evaluations, allowing you to see progress updates and get the response data.
You may want to wait up to a certain amount of time for an asynchronous task to finish.
Start two long downloads.
| Out[8]= |  |
| Out[8]= |  |
The removed task will no longer be listed.
| Out[10]= |  |