Set kotlinx.coroutines to 1.7.3; Use limited parallelism instead of `Dispatchers.IO` (#798)
* set `kotlinx.coroutines` to `1.7.3`
* update tests after coroutines.tests update
* use `limitedParallelism` instead of bare `Dispatchers.IO`
rename
* use virtual time aware dispatchers in tests that use `runTest`
* better naming
* remove usages of experimental coroutines api
* remove usages of experimental time api
* use dispatcher from `coroutineScope` in `FrameLimiter`
`FrameLimiter` must cancel waiting when its scope canceled
* extract the `dispatcherToBlockOn` into separate file
* use dispatcher from `coroutineScope` in `FrameLimiter`
* Fix FrameLimiterTest
---------
Co-authored-by:
Igor Demin <igor.demin@jetbrains.com>
Showing
Please register or sign in to comment