@@ -162,7 +162,7 @@ Completed in 1017 ms
162162<!-- - TEST ARBITRARY_TIME -->
163163
164164This is twice as fast, because we have concurrent execution of two coroutines.
165- Note, that concurrency with coroutines is always explicit.
165+ Note that concurrency with coroutines is always explicit.
166166
167167### Lazily started async
168168
@@ -219,7 +219,7 @@ So, here the two coroutines are defined but not executed as in the previous exam
219219the programmer on when exactly to start the execution by calling [ start] [ Job.start ] . We first
220220start ` one ` , then start ` two ` , and then await for the individual coroutines to finish.
221221
222- Note, that if we have called [ await] [ Deferred.await ] in ` println ` and omitted [ start] [ Job.start ] on individual
222+ Note that if we have called [ await] [ Deferred.await ] in ` println ` and omitted [ start] [ Job.start ] on individual
223223coroutines, then we would have got the sequential behaviour as [ await] [ Deferred.await ] starts the coroutine
224224execution and waits for the execution to finish, which is not the intended use-case for laziness.
225225The use-case for ` async(start = CoroutineStart.LAZY) ` is a replacement for the
@@ -249,7 +249,7 @@ fun somethingUsefulTwoAsync() = GlobalScope.async {
249249
250250</div >
251251
252- Note, that these ` xxxAsync ` functions are ** not** _ suspending_ functions. They can be used from anywhere.
252+ Note that these ` xxxAsync ` functions are ** not** _ suspending_ functions. They can be used from anywhere.
253253However, their use always implies asynchronous (here meaning _ concurrent_ ) execution of their action
254254with the invoking code.
255255
@@ -264,7 +264,7 @@ import kotlinx.coroutines.*
264264import kotlin.system.*
265265
266266// sampleStart
267- // note, that we don't have `runBlocking` to the right of `main` in this example
267+ // note that we don't have `runBlocking` to the right of `main` in this example
268268fun main () {
269269 val time = measureTimeMillis {
270270 // we can initiate async actions outside of a coroutine
0 commit comments