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
* Provides newSingleThreadedContext.
* Provides Dispatchers.Main on iOS, Dispatchers.Default everywhere.
* Coroutine references (Job) and all kinds of channels are shareable
across workers.
* Each individual coroutine is confined to a single worker.
Known problems:
* There are some memory leaks in concurrent cases.
Copy file name to clipboardExpand all lines: binary-compatibility-validator/reference-public-api/kotlinx-coroutines-core.txt
+6-6
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,6 @@ public abstract class kotlinx/coroutines/AbstractCoroutine : kotlinx/coroutines/
13
13
protected fun onStart ()V
14
14
public final fun resumeWith (Ljava/lang/Object;)V
15
15
public final fun start (Lkotlinx/coroutines/CoroutineStart;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)V
16
-
public final fun start (Lkotlinx/coroutines/CoroutineStart;Lkotlin/jvm/functions/Function1;)V
17
16
}
18
17
19
18
public final class kotlinx/coroutines/AwaitKt {
@@ -80,10 +79,8 @@ public class kotlinx/coroutines/CancellableContinuationImpl : kotlin/coroutines/
80
79
81
80
public final class kotlinx/coroutines/CancellableContinuationKt {
82
81
public static final fun disposeOnCancellation (Lkotlinx/coroutines/CancellableContinuation;Lkotlinx/coroutines/DisposableHandle;)V
83
-
public static final fun suspendAtomicCancellableCoroutine (Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
84
82
public static final fun suspendAtomicCancellableCoroutine (ZLkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
85
83
public static synthetic fun suspendAtomicCancellableCoroutine$default (ZLkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
86
-
public static final fun suspendCancellableCoroutine (Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
87
84
}
88
85
89
86
public abstract interface class kotlinx/coroutines/ChildHandle : kotlinx/coroutines/DisposableHandle {
@@ -155,7 +152,7 @@ public abstract class kotlinx/coroutines/CoroutineDispatcher : kotlin/coroutines
155
152
public abstract fun dispatch (Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
156
153
public fun dispatchYield (Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
157
154
public fun get (Lkotlin/coroutines/CoroutineContext$Key;)Lkotlin/coroutines/CoroutineContext$Element;
158
-
public final fun interceptContinuation (Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
155
+
public fun interceptContinuation (Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
159
156
public fun isDispatchNeeded (Lkotlin/coroutines/CoroutineContext;)Z
160
157
public fun minusKey (Lkotlin/coroutines/CoroutineContext$Key;)Lkotlin/coroutines/CoroutineContext;
161
158
public final fun plus (Lkotlinx/coroutines/CoroutineDispatcher;)Lkotlinx/coroutines/CoroutineDispatcher;
@@ -220,8 +217,6 @@ public final class kotlinx/coroutines/CoroutineStart : java/lang/Enum {
220
217
public static final field DEFAULT Lkotlinx/coroutines/CoroutineStart;
221
218
public static final field LAZY Lkotlinx/coroutines/CoroutineStart;
222
219
public static final field UNDISPATCHED Lkotlinx/coroutines/CoroutineStart;
223
-
public final fun invoke (Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)V
224
-
public final fun invoke (Lkotlin/jvm/functions/Function2;Ljava/lang/Object;Lkotlin/coroutines/Continuation;)V
225
220
public final fun isLazy ()Z
226
221
public static fun valueOf (Ljava/lang/String;)Lkotlinx/coroutines/CoroutineStart;
227
222
public static fun values ()[Lkotlinx/coroutines/CoroutineStart;
@@ -488,6 +483,11 @@ public final class kotlinx/coroutines/SupervisorKt {
488
483
public static final fun supervisorScope (Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
489
484
}
490
485
486
+
public final class kotlinx/coroutines/SuspendCancellableCoroutineKt {
487
+
public static final fun suspendAtomicCancellableCoroutine (Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
488
+
public static final fun suspendCancellableCoroutine (Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
489
+
}
490
+
491
491
public abstract interface class kotlinx/coroutines/ThreadContextElement : kotlin/coroutines/CoroutineContext$Element {
492
492
public abstract fun restoreThreadContext (Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
493
493
public abstract fun updateThreadContext (Lkotlin/coroutines/CoroutineContext;)Ljava/lang/Object;
0 commit comments