badoo / Reaktive

Kotlin multi-platform implementation of Reactive Extensions
Apache License 2.0
1.18k stars 58 forks source link

[2.0] Move Scheduler interop with coroutines to commonMain #748

Closed arkivanov closed 1 year ago

arkivanov commented 1 year ago

Also refactored CoroutineContextScheduler so it doesn't use any deprecated or legacy APIs. And also fixed a bug discovered during refactoring, when new tasks are not being executed once the Executor is cancelled (not disposed).