1.2.1
Major:
- Infrastructure for testing coroutine-specific code in
kotlinx-coroutines-test:runBlockingTest,TestCoroutineScopeandTestCoroutineDispatcher, contributed by Sean McQuillan (@objcode). Job.asCompletableFutureextension in jdk8 module (#1113).
Flow improvements:
flowViaChannelrework: block parameter is no longer suspending, but providesCoroutineScopereceiver and allows conflated channel (#1081, #1112).- New operators:
switchMap,sample,debounce(#1107). consumerEachis deprecated for removal onPublisher,ObservableSourceandMaybeSource,collectextension is introduced instead (#1080).
Other: