mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
CoroutineStart.UNDISPATCHED does not check if the current dispatcher is indeed the correct one, so it's safer to wrap the body in `withContext`. Also, using suspending functions instead of passing a CoroutineScope better adheres to structured concurrency. GitOrigin-RevId: 401609ca178fe9b47f63211696c6a5a1b4c6d650