mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[threading] IJPL-206769: Remove stale comments
GitOrigin-RevId: ad60939e018084160e96e574c10a07637b42f8f6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fc46acb7e7
commit
91ca142605
@@ -348,9 +348,6 @@ fun ModalityState.asContextElement(): CoroutineContext = asContextElement()
|
||||
*
|
||||
* If no context modality state is specified, then the coroutine is dispatched within [ModalityState.nonModal] modality state.
|
||||
*
|
||||
* This dispatcher does **not** have ordering guarantees for scheduled coroutines.
|
||||
* If the scheduling of coroutine `A` happens-before scheduling of coroutine `B`, then `A` could be executed after `B`.
|
||||
*
|
||||
* Prefer [Dispatchers.UI] for computations on EDT.
|
||||
*/
|
||||
@Suppress("UnusedReceiverParameter")
|
||||
@@ -375,9 +372,6 @@ fun Dispatchers.ui(kind: UiDispatcherKind = UiDispatcherKind.STRICT, immediate:
|
||||
*
|
||||
* If no context modality state is specified, then the coroutine is dispatched within [ModalityState.nonModal] modality state.
|
||||
*
|
||||
* This dispatcher has ordering guarantees for scheduled coroutines.
|
||||
* If the scheduling of coroutine `A` happens-before scheduling of coroutine `B`, then `A` will be executed before `B`.
|
||||
*
|
||||
* Use [Dispatchers.UI] when in doubt, use [Dispatchers.Main] if the coroutine doesn't care about IntelliJ Platform model (PSI, VFS, etc.),
|
||||
* e.g., when it can be executed outside of IJ process.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user