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
It was only needed to customize resume mode from within of
AbstractCoroutine.resumeWith method. This is now achieved by
a separate open fun afterResume. Also, afterCompletionInternal is
now renamed to afterCompletion and is only used from the job was
completed from unknown context and thus should be resumed in
a default way. This "default way" is now "cancellable resume"
(to minimize the amount of code duplication) which does not introduce
any functional difference, since that only happens on cancellation.
Copy file name to clipboardExpand all lines: binary-compatibility-validator/reference-public-api/kotlinx-coroutines-core.txt
+2-1
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@ public abstract class kotlinx/coroutines/AbstractCoroutine : kotlinx/coroutines/
2
2
protected final field parentContext Lkotlin/coroutines/CoroutineContext;
3
3
public fun <init> (Lkotlin/coroutines/CoroutineContext;Z)V
4
4
public synthetic fun <init> (Lkotlin/coroutines/CoroutineContext;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
5
+
protected fun afterResume (Ljava/lang/Object;)V
5
6
public final fun getContext ()Lkotlin/coroutines/CoroutineContext;
6
7
public fun getCoroutineContext ()Lkotlin/coroutines/CoroutineContext;
7
8
public fun isActive ()Z
@@ -380,7 +381,7 @@ public final class kotlinx/coroutines/JobKt {
380
381
381
382
public class kotlinx/coroutines/JobSupport : kotlinx/coroutines/ChildJob, kotlinx/coroutines/Job, kotlinx/coroutines/ParentJob, kotlinx/coroutines/selects/SelectClause0 {
382
383
public fun <init> (Z)V
383
-
protected fun afterCompletionInternal (Ljava/lang/Object;I)V
384
+
protected fun afterCompletion (Ljava/lang/Object;)V
384
385
public final fun attachChild (Lkotlinx/coroutines/ChildJob;)Lkotlinx/coroutines/ChildHandle;
385
386
public synthetic fun cancel ()V
386
387
public synthetic fun cancel (Ljava/lang/Throwable;)Z
0 commit comments