File tree 2 files changed +1
-14
lines changed
2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,6 @@ public final class kotlinx/coroutines/Job$Key : kotlin/coroutines/CoroutineConte
367
367
}
368
368
369
369
public final class kotlinx/coroutines/JobKt {
370
- public static final fun DisposableHandle (Lkotlin/jvm/functions/Function0;)Lkotlinx/coroutines/DisposableHandle;
371
370
public static final fun Job (Lkotlinx/coroutines/Job;)Lkotlinx/coroutines/CompletableJob;
372
371
public static final synthetic fun Job (Lkotlinx/coroutines/Job;)Lkotlinx/coroutines/Job;
373
372
public static synthetic fun Job$default (Lkotlinx/coroutines/Job;ILjava/lang/Object;)Lkotlinx/coroutines/CompletableJob;
Original file line number Diff line number Diff line change @@ -387,26 +387,14 @@ public fun Job0(parent: Job? = null): Job = Job(parent)
387
387
/* *
388
388
* A handle to an allocated object that can be disposed to make it eligible for garbage collection.
389
389
*/
390
- public interface DisposableHandle {
390
+ public fun interface DisposableHandle {
391
391
/* *
392
392
* Disposes the corresponding object, making it eligible for garbage collection.
393
393
* Repeated invocation of this function has no effect.
394
394
*/
395
395
public fun dispose ()
396
396
}
397
397
398
- /* *
399
- * @suppress **This an internal API and should not be used from general code.**
400
- */
401
- @Suppress(" FunctionName" )
402
- @InternalCoroutinesApi
403
- public inline fun DisposableHandle (crossinline block : () -> Unit ): DisposableHandle =
404
- object : DisposableHandle {
405
- override fun dispose () {
406
- block()
407
- }
408
- }
409
-
410
398
// -------------------- Parent-child communication --------------------
411
399
412
400
/* *
You can’t perform that action at this time.
0 commit comments