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
This gives you access to Android [Dispatchers.Main]
158
-
coroutine dispatcher and also makes sure that in case of crashed coroutine with unhandled exception this
159
-
exception is logged before crashing Android application, similarly to the way uncaught exceptions in
160
-
threads are handled by Android runtime.
157
+
This gives you access to the Android [Dispatchers.Main]
158
+
coroutine dispatcher and also makes sure that in case of a crashed coroutine with an unhandled exception that
159
+
this exception is logged before crashing the Android application, similarly to the way uncaught exceptions in
160
+
threads are handled by the Android runtime.
161
161
162
162
#### R8 and ProGuard
163
163
@@ -168,7 +168,7 @@ For more details see ["Optimization" section for Android](ui/kotlinx-coroutines-
168
168
169
169
The `kotlinx-coroutines-core` artifact contains a resource file that is not required for the coroutines to operate
170
170
normally and is only used by the debugger. To exclude it at no loss of functionality, add the following snippet to the
171
-
`android` block in your gradle file for the application subproject:
171
+
`android` block in your Gradle file for the application subproject:
172
172
```groovy
173
173
packagingOptions {
174
174
exclude "DebugProbesKt.bin"
@@ -180,7 +180,7 @@ packagingOptions {
180
180
Core modules of `kotlinx.coroutines` are also available for
181
181
[Kotlin/JS](https://kotlinlang.org/docs/reference/js-overview.html) and [Kotlin/Native](https://kotlinlang.org/docs/reference/native-overview.html).
182
182
183
-
In common code that should get compiled for different platforms, you can add dependency to `kotlinx-coroutines-core` right to the `commonMain` source set:
183
+
In common code that should get compiled for different platforms, you can add a dependency to `kotlinx-coroutines-core` right to the `commonMain` source set:
184
184
```groovy
185
185
commonMain {
186
186
dependencies {
@@ -189,7 +189,7 @@ commonMain {
189
189
}
190
190
```
191
191
192
-
No more additional dependencies is needed, platform-specific artifacts will be resolved automatically via Gradle metadata available since Gradle 5.3.
192
+
No more additional dependencies are needed, platform-specific artifacts will be resolved automatically via Gradle metadata available since Gradle 5.3.
193
193
194
194
Platform-specific dependencies are recommended to be used only for non-multiplatform projects that are compiled only for target platform.
195
195
@@ -207,11 +207,11 @@ the target Kotlin/Native platform. [List of currently supported targets](https:/
207
207
208
208
209
209
Only single-threaded code (JS-style) on Kotlin/Native is supported in stable versions.
210
-
Additionally, special `-native-mt` version is released on a regular basis, for the state of multi-threaded coroutines support
210
+
Additionally, a special `-native-mt` version is released on a regular basis, for the state of multi-threaded coroutines support
211
211
please follow the [corresponding issue](https://github.com/Kotlin/kotlinx.coroutines/issues/462) for the additional details.
212
212
213
213
Since Kotlin/Native does not generally provide binary compatibility between versions,
214
-
you should use the same version of Kotlin/Native compiler as was used to build `kotlinx.coroutines`.
214
+
you should use the same version of the Kotlin/Native compiler as was used to build `kotlinx.coroutines`.
0 commit comments