diff --git a/topics/basics/architectural_overview/threading/execution_contexts.topic b/topics/basics/architectural_overview/threading/execution_contexts.topic index 897ce2ed2..bc911ce22 100644 --- a/topics/basics/architectural_overview/threading/execution_contexts.topic +++ b/topics/basics/architectural_overview/threading/execution_contexts.topic @@ -5,7 +5,7 @@ xsi:noNamespaceSchemaLocation="https://resources.jetbrains.com/writerside/1.0/topic.v2.xsd" id="execution_contexts" title="Execution Contexts"> -
The IntelliJ Platform provides APIs that allow tracking the progress of background processes and canceling their @@ -25,14 +25,14 @@
Currently, the Progress Indicator context is the most widely used approach in the IntelliJ Platform. +
Currently, the Progress Indicator context is the most widely used approach in the IntelliJ Platform. As the platform's execution model moves towards coroutines, this approach can be considered obsolete.
Starting with 2024.2, it is recommended to execute new code in the Job context.
-The following sections explain the contexts and provide information about process cancellation, progress +
The following sections explain the contexts and provide information about process cancellation, progress tracking, and switching between contexts.
@@ -80,16 +80,16 @@Currently, the Progress Indicator context is the most widely used approach in the IntelliJ Platform. - As the platform's execution model moves towards coroutines, this approach - can be considered obsolete.
+Starting with 2024.1, it is recommended to execute new code in the suspending context.
-The following sections explain the contexts and provide information about process cancellation, progress - tracking, and switching between contexts.
+Job Context | -+ |
ProgressStep
- a step-based progress reporting (see its KDoc for details)
@@ -275,7 +267,7 @@
|
||||
Progress Indicator |
ProgressIndicator 's
@@ -292,37 +284,9 @@
|