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
* **Note: This API is obsolete since 1.5.0.** It will be deprecated with warning in 1.6.0
68
-
* and with error in 1.7.0. It is replaced with [StateFlow][kotlinx.coroutines.flow.StateFlow]
69
-
* and [SharedFlow][kotlinx.coroutines.flow.SharedFlow].
68
+
* **Note: This API is obsolete since 1.5.0 and deprecated for removal since 1.7.0**
69
+
* It is replaced with [SharedFlow][kotlinx.coroutines.flow.SharedFlow] and [StateFlow][kotlinx.coroutines.flow.StateFlow].
70
70
*/
71
71
@ObsoleteCoroutinesApi
72
+
@Deprecated(level =DeprecationLevel.WARNING, message ="BroadcastChannel is deprecated in the favour of SharedFlow and StateFlow, and is no longer supported")
0->throwIllegalArgumentException("Unsupported 0 capacity for BroadcastChannel")
@@ -92,10 +93,11 @@ public fun <E> BroadcastChannel(capacity: Int): BroadcastChannel<E> =
92
93
* In this implementation, [opening][openSubscription] and [closing][ReceiveChannel.cancel] subscription
93
94
* takes linear time in the number of subscribers.
94
95
*
95
-
* **Note: This API is obsolete since 1.5.0.** It will be deprecated with warning in 1.7.0
96
-
* and with error in 1.8.0. It is replaced with [StateFlow][kotlinx.coroutines.flow.StateFlow].
96
+
* **Note: This API is obsolete since 1.5.0 and deprecated for removal since 1.7.0**
97
+
* It is replaced with [SharedFlow][kotlinx.coroutines.flow.StateFlow].
97
98
*/
98
99
@ObsoleteCoroutinesApi
100
+
@Deprecated(level =DeprecationLevel.WARNING, message ="ConflatedBroadcastChannel is deprecated in the favour of SharedFlow and is no longer supported")
0 commit comments