File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ And make sure that you use the latest Kotlin version:
80
80
Add dependencies (you can also add other modules that you need):
81
81
82
82
``` groovy
83
- compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.24.0'
83
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.24.0'
84
84
```
85
85
86
86
And make sure that you use the latest Kotlin version:
@@ -113,7 +113,7 @@ Add [`kotlinx-coroutines-android`](ui/kotlinx-coroutines-android)
113
113
module as dependency when using ` kotlinx.coroutines ` on Android:
114
114
115
115
``` groovy
116
- compile 'org.jetbrains.kotlinx:kotlinx-coroutines-android:0.24.0'
116
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:0.24.0'
117
117
```
118
118
119
119
This gives you access to Android [ UI] ( https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-android/kotlinx.coroutines.experimental.android/-u-i.html )
Original file line number Diff line number Diff line change @@ -847,7 +847,7 @@ It produces the following output (maybe in different order):
847
847
848
848
<!-- - TEST LINES_START_UNORDERED -->
849
849
850
- The default dispatcher that we've used in previous sections is representend by [ DefaultDispatcher] , which
850
+ The default dispatcher that we've used in previous sections is represented by [ DefaultDispatcher] , which
851
851
is equal to [ CommonPool] in the current implementation. So, ` launch { ... } ` is the same
852
852
as ` launch(DefaultDispatcher) { ... } ` , which is the same as ` launch(CommonPool) { ... } ` .
853
853
@@ -1849,7 +1849,7 @@ multiple CPU cores if you run it in [CommonPool] context.
1849
1849
1850
1850
Anyway, this is an extremely impractical way to find prime numbers. In practice, pipelines do involve some
1851
1851
other suspending invocations (like asynchronous calls to remote services) and these pipelines cannot be
1852
- built using ` buildSeqeunce ` /` buildIterator ` , because they do not allow arbitrary suspension, unlike
1852
+ built using ` buildSequence ` /` buildIterator ` , because they do not allow arbitrary suspension, unlike
1853
1853
` produce ` , which is fully asynchronous.
1854
1854
1855
1855
### Fan-out
You can’t perform that action at this time.
0 commit comments