You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Use this if the coroutine needs to live past a project being closed or across projects such as an Application Service
21
21
*/
22
+
@Deprecated("Application x plugin intersection scope should not be used https://plugins.jetbrains.com/docs/intellij/coroutine-scopes.html#use-service-scopes")
@@ -27,6 +28,7 @@ fun applicationCoroutineScope(coroutineName: String): CoroutineScope =
27
28
*
28
29
* Use this if the coroutine needs to live past a UI being closed, or tied to a project's life cycle such as a Project Service.
29
30
*/
31
+
@Deprecated("Project x plugin intersection scope should not be used https://plugins.jetbrains.com/docs/intellij/coroutine-scopes.html#use-service-scopes")
@@ -38,6 +40,9 @@ fun projectCoroutineScope(project: Project, coroutineName: String): CoroutineSco
38
40
* **Note: If a call lives past the closing of a UI such as kicking off a resource creation, use [projectCoroutineScope].
39
41
* Otherwise, the coroutine will be canceled when the UI is closed!**
40
42
*/
43
+
@Deprecated(
44
+
"Coroutine scope should not be shared across entire plugin lifecycle https://plugins.jetbrains.com/docs/intellij/coroutine-scopes.html#use-service-scopes"
@@ -50,18 +55,23 @@ fun disposableCoroutineScope(disposable: Disposable, coroutineName: String): Cor
50
55
/**
51
56
* Version of [applicationCoroutineScope] the class name as the coroutine name.
52
57
*/
58
+
@Deprecated("Application x plugin intersection scope should not be used https://plugins.jetbrains.com/docs/intellij/coroutine-scopes.html#use-service-scopes")
* Version of [projectCoroutineScope] the class name as the coroutine name.
58
64
*/
65
+
@Deprecated("Project x plugin intersection scope should not be used https://plugins.jetbrains.com/docs/intellij/coroutine-scopes.html#use-service-scopes")
* Version of [disposableCoroutineScope] the class name as the coroutine name.
64
71
*/
72
+
@Deprecated(
73
+
"Coroutine scope should not be shared across entire plugin lifecycle https://plugins.jetbrains.com/docs/intellij/coroutine-scopes.html#use-service-scopes"
0 commit comments