1.2.1
Major:
- Infrastructure for testing coroutine-specific code in
kotlinx-coroutines-test
:runBlockingTest
,TestCoroutineScope
andTestCoroutineDispatcher
, contributed by Sean McQuillan (@objcode). Job.asCompletableFuture
extension in jdk8 module (#1113).
Flow improvements:
flowViaChannel
rework: block parameter is no longer suspending, but providesCoroutineScope
receiver and allows conflated channel (#1081, #1112).- New operators:
switchMap
,sample
,debounce
(#1107). consumerEach
is deprecated for removal onPublisher
,ObservableSource
andMaybeSource
,collect
extension is introduced instead (#1080).
Other: