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
Abolish distinction between cancelled and failed Job/Deferred
* Job.isCancelled is consistently true on any failure
* Deferred.isCompletedExceptionally is deprecated.
It is equal to isCancelled && isCompleted
* CompletableDeferred.completeExceptionally is deprecated.
Use cancel instead.
Fixes#220
Copy file name to clipboardExpand all lines: binary-compatibility-validator/reference-public-api/kotlinx-coroutines-core.txt
+1-4
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,6 @@ public abstract class kotlinx/coroutines/experimental/AbstractCoroutine : kotlin
8
8
protected fun onCancellation (Ljava/lang/Throwable;)V
9
9
protected fun onCompleted (Ljava/lang/Object;)V
10
10
protected fun onCompletedExceptionally (Ljava/lang/Throwable;)V
11
-
protected fun onFailing (Ljava/lang/Throwable;)V
12
11
protected fun onStart ()V
13
12
public final fun resume (Ljava/lang/Object;)V
14
13
public final fun resumeWithException (Ljava/lang/Throwable;)V
@@ -383,7 +382,6 @@ public abstract interface class kotlinx/coroutines/experimental/Job : kotlin/cor
383
382
public abstract fun isActive ()Z
384
383
public abstract fun isCancelled ()Z
385
384
public abstract fun isCompleted ()Z
386
-
public abstract fun isFailed ()Z
387
385
public abstract fun join (Lkotlin/coroutines/experimental/Continuation;)Ljava/lang/Object;
388
386
public abstract fun plus (Lkotlinx/coroutines/experimental/Job;)Lkotlinx/coroutines/experimental/Job;
389
387
public abstract fun start ()Z
@@ -455,15 +453,14 @@ public final class kotlinx/coroutines/experimental/NonCancellable : kotlin/corou
455
453
public fun isActive ()Z
456
454
public fun isCancelled ()Z
457
455
public fun isCompleted ()Z
458
-
public fun isFailed ()Z
459
456
public fun join (Lkotlin/coroutines/experimental/Continuation;)Ljava/lang/Object;
460
457
public fun plus (Lkotlinx/coroutines/experimental/Job;)Lkotlinx/coroutines/experimental/Job;
461
458
public fun start ()Z
462
459
}
463
460
464
461
public final class kotlinx/coroutines/experimental/NonDisposableHandle : kotlinx/coroutines/experimental/ChildHandle, kotlinx/coroutines/experimental/DisposableHandle {
465
462
public static final field INSTANCE Lkotlinx/coroutines/experimental/NonDisposableHandle;
466
-
public fun childFailed (Ljava/lang/Throwable;)Z
463
+
public fun childCancelled (Ljava/lang/Throwable;)Z
0 commit comments