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
> All functions that create coroutines are defined as extensions on [CoroutineScope],
222
-
so that we can rely on [structured concurrency](https://github.com/Kotlin/kotlinx.coroutineskotlinx.coroutines/blob/master/docs/composing-suspending-functions.md#structured-concurrency-with-async) to make
222
+
so that we can rely on [structured concurrency](https://kotlinlang.org/docs/reference/coroutines/composing-suspending-functions.html#structured-concurrency-with-async) to make
223
223
sure that we don't have lingering global coroutines in our application.
Copy file name to clipboardExpand all lines: docs/exception-handling.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ coroutine throw an exception?
47
47
48
48
Coroutine builders come in two flavors: propagating exceptions automatically ([launch] and [actor]) or
49
49
exposing them to users ([async] and [produce]).
50
-
The former treat exceptions as unhandled, similar to Java's `Thread.uncaughExceptionHandler`,
50
+
The former treat exceptions as unhandled, similar to Java's `Thread.uncaughtExceptionHandler`,
51
51
while the latter are relying on the user to consume the final
52
52
exception, for example via [await][Deferred.await] or [receive][ReceiveChannel.receive]
53
53
([produce] and [receive][ReceiveChannel.receive] are covered later in [Channels](https://github.com/Kotlin/kotlinx.coroutines/blob/master/docs/channels.md) section).
@@ -254,7 +254,7 @@ So, additional exceptions are suppressed.
254
254
255
255
> One of the solutions would have been to report each exception separately,
256
256
but then [Deferred.await] should have had the same mechanism to avoid behavioural inconsistency and this
257
-
would cause implementation details of a coroutines (whether it had delegate parts of its work to its children or not)
257
+
would cause implementation details of a coroutines (whether it had delegated parts of its work to its children or not)
0 commit comments