You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`Channel` and `Mutex` communication and synchronization primitives;
31
-
*`coroutineScope` and `supervisorScope` scope builders;
32
-
*`SupervisorJob` and `CoroutineExceptionHandler` for supervision of coroutines hierarchies;
33
-
*`select` expression support and more.
25
+
*[launch] and [async] coroutine builders returning [Job] and [Deferred] light-weight futures with cancellation support;
26
+
*[Dispatchers] object with [Main][Dispatchers.Main] dispatcher for Android/Swing/JavaFx, and [Default][Dispatchers.Default] dispatcher for background coroutines;
27
+
*[delay] and [yield] top-level suspending functions;
28
+
*[Flow]— cold asynchronous stream with [flow][_flow] builder and comprehensive operator set ([filter], [map], etc);
29
+
*[Channel], [Mutex], and [Semaphore] communication and synchronization primitives;
30
+
*[coroutineScope], [supervisorScope], [withContext], and [withTimeout] scope builders;
31
+
*[MainScope()] for Android and UI applications;
32
+
*[SupervisorJob()] and [CoroutineExceptionHandler] for supervision of coroutines hierarchies;
33
+
*[select] expression support and more.
34
34
*[core/jvm](kotlinx-coroutines-core/jvm/)— additional core features available on Kotlin/JVM:
35
-
*`Dispatchers.IO` dispatcher for blocking coroutines;
36
-
*`Executor.asCoroutineDispatcher()` extension, custom thread pools, and more.
35
+
*[Dispatchers.IO] dispatcher for blocking coroutines;
36
+
*[Executor.asCoroutineDispatcher] extension, custom thread pools, and more.
37
37
*[core/js](kotlinx-coroutines-core/js/)— additional core features available on Kotlin/JS:
38
-
* Integration with `Promise`;
39
-
* Integration with `Window`.
40
-
*[test](kotlinx-coroutines-test/README.md)— test utilities for coroutines
41
-
*`Dispatchers.setMain` to override `Dispatchers.Main` in tests.
42
-
*`TestCoroutineScope` to test suspending functions and coroutines.
43
-
*[debug](kotlinx-coroutines-debug/README.md)— debug utilities for coroutines.
44
-
*`DebugProbes` API to probe, keep track of, print and dump active coroutines.
45
-
*`CoroutinesTimeout` test rule to automatically dump coroutines on test timeout.
38
+
* Integration with `Promise` via [Promise.await] and [promise] builder;
39
+
* Integration with `Window` via [Window.asCoroutineDispatcher], etc.
40
+
*[test](kotlinx-coroutines-test/README.md)— test utilities for coroutines:
41
+
*[Dispatchers.setMain] to override [Dispatchers.Main] in tests;
42
+
*[TestCoroutineScope] to test suspending functions and coroutines.
43
+
*[debug](kotlinx-coroutines-debug/README.md)— debug utilities for coroutines:
44
+
*[DebugProbes] API to probe, keep track of, print and dump active coroutines;
45
+
*[CoroutinesTimeout] test rule to automatically dump coroutines on test timeout.
46
46
*[reactive](reactive/README.md)— modules that provide builders and iteration support for various reactive streams libraries:
47
-
* Reactive Streams, RxJava 2.x, and Project Reactor.
This gives you access to Android [Dispatchers.Main](https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-android/kotlinx.coroutines.android/kotlinx.coroutines.-dispatchers/index.html)
161
+
This gives you access to Android [Dispatchers.Main]
160
162
coroutine dispatcher and also makes sure that in case of crashed coroutine with unhandled exception this
161
163
exception is logged before crashing Android application, similarly to the way uncaught exceptions in
162
164
threads are handled by Android runtime.
@@ -217,3 +219,73 @@ The `develop` branch is pushed to `master` during release.
217
219
* Full release procedure checklist is [here](RELEASE.md).
218
220
* Steps for contributing new integration modules are explained [here](integration/README.md#Contributing).
0 commit comments