Skip to content

Commit a0d2dc6

Browse files
committed
Remove SendChannel.isFull completely
1 parent 0c76827 commit a0d2dc6

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

kotlinx-coroutines-core/api/kotlinx-coroutines-core.api

-6
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,6 @@ public abstract interface class kotlinx/coroutines/channels/BroadcastChannel : k
567567
public final class kotlinx/coroutines/channels/BroadcastChannel$DefaultImpls {
568568
public static synthetic fun cancel$default (Lkotlinx/coroutines/channels/BroadcastChannel;Ljava/lang/Throwable;ILjava/lang/Object;)Z
569569
public static synthetic fun cancel$default (Lkotlinx/coroutines/channels/BroadcastChannel;Ljava/util/concurrent/CancellationException;ILjava/lang/Object;)V
570-
public static synthetic fun isFull (Lkotlinx/coroutines/channels/BroadcastChannel;)Z
571570
public static fun offer (Lkotlinx/coroutines/channels/BroadcastChannel;Ljava/lang/Object;)Z
572571
}
573572

@@ -601,7 +600,6 @@ public abstract interface class kotlinx/coroutines/channels/Channel : kotlinx/co
601600

602601
public final class kotlinx/coroutines/channels/Channel$DefaultImpls {
603602
public static synthetic fun cancel (Lkotlinx/coroutines/channels/Channel;)V
604-
public static synthetic fun isFull (Lkotlinx/coroutines/channels/Channel;)Z
605603
public static fun offer (Lkotlinx/coroutines/channels/Channel;Ljava/lang/Object;)Z
606604
public static fun poll (Lkotlinx/coroutines/channels/Channel;)Ljava/lang/Object;
607605
}
@@ -797,7 +795,6 @@ public final class kotlinx/coroutines/channels/ConflatedBroadcastChannel : kotli
797795
public final fun getValueOrNull ()Ljava/lang/Object;
798796
public fun invokeOnClose (Lkotlin/jvm/functions/Function1;)V
799797
public fun isClosedForSend ()Z
800-
public synthetic fun isFull ()Z
801798
public fun offer (Ljava/lang/Object;)Z
802799
public fun openSubscription ()Lkotlinx/coroutines/channels/ReceiveChannel;
803800
public fun send (Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@@ -818,7 +815,6 @@ public abstract interface class kotlinx/coroutines/channels/ProducerScope : kotl
818815
}
819816

820817
public final class kotlinx/coroutines/channels/ProducerScope$DefaultImpls {
821-
public static synthetic fun isFull (Lkotlinx/coroutines/channels/ProducerScope;)Z
822818
public static fun offer (Lkotlinx/coroutines/channels/ProducerScope;Ljava/lang/Object;)Z
823819
}
824820

@@ -851,15 +847,13 @@ public abstract interface class kotlinx/coroutines/channels/SendChannel {
851847
public abstract fun getOnSend ()Lkotlinx/coroutines/selects/SelectClause2;
852848
public abstract fun invokeOnClose (Lkotlin/jvm/functions/Function1;)V
853849
public abstract fun isClosedForSend ()Z
854-
public abstract synthetic fun isFull ()Z
855850
public abstract fun offer (Ljava/lang/Object;)Z
856851
public abstract fun send (Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
857852
public abstract fun trySend-JP2dKIU (Ljava/lang/Object;)Ljava/lang/Object;
858853
}
859854

860855
public final class kotlinx/coroutines/channels/SendChannel$DefaultImpls {
861856
public static synthetic fun close$default (Lkotlinx/coroutines/channels/SendChannel;Ljava/lang/Throwable;ILjava/lang/Object;)Z
862-
public static synthetic fun isFull (Lkotlinx/coroutines/channels/SendChannel;)Z
863857
public static fun offer (Lkotlinx/coroutines/channels/SendChannel;Ljava/lang/Object;)Z
864858
}
865859

kotlinx-coroutines-core/common/src/channels/Channel.kt

-8
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ public interface SendChannel<in E> {
3030
@ExperimentalCoroutinesApi
3131
public val isClosedForSend: Boolean
3232

33-
/**
34-
* Warning in 1.2, error in 1.3, hidden in 1.5
35-
*
36-
* @suppress **Will be removed in next releases, no replacement.**
37-
*/
38-
@Deprecated(level = DeprecationLevel.HIDDEN, message = "Will be removed in next releases without replacement")
39-
public val isFull: Boolean get() = true
40-
4133
/**
4234
* Sends the specified [element] to this channel, suspending the caller while the buffer of this channel is full
4335
* or if it does not exist, or throws an exception if the channel [is closed for `send`][isClosedForSend] (see [close] for details).

reactive/kotlinx-coroutines-reactive/api/kotlinx-coroutines-reactive.api

-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ public final class kotlinx/coroutines/reactive/PublisherCoroutine : kotlinx/coro
5757
public fun invokeOnClose (Lkotlin/jvm/functions/Function1;)Ljava/lang/Void;
5858
public synthetic fun invokeOnClose (Lkotlin/jvm/functions/Function1;)V
5959
public fun isClosedForSend ()Z
60-
public synthetic fun isFull ()Z
6160
public fun offer (Ljava/lang/Object;)Z
6261
public synthetic fun onCompleted (Ljava/lang/Object;)V
6362
public fun registerSelectClause2 (Lkotlinx/coroutines/selects/SelectInstance;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)V

0 commit comments

Comments
 (0)