@@ -13,6 +13,7 @@ import kotlin.internal.InlineOnly
1313/* *
1414 * Applying [cancellable][Flow.cancellable] to a [SharedFlow] has no effect.
1515 * See the [SharedFlow] documentation on Operator Fusion.
16+ * @suppress
1617 */
1718@Deprecated(
1819 level = DeprecationLevel .ERROR ,
@@ -24,6 +25,7 @@ public fun <T> SharedFlow<T>.cancellable(): Flow<T> = noImpl()
2425/* *
2526 * Applying [flowOn][Flow.flowOn] to [SharedFlow] has no effect.
2627 * See the [SharedFlow] documentation on Operator Fusion.
28+ * @suppress
2729 */
2830@Deprecated(
2931 level = DeprecationLevel .ERROR ,
@@ -35,6 +37,7 @@ public fun <T> SharedFlow<T>.flowOn(context: CoroutineContext): Flow<T> = noImpl
3537/* *
3638 * Applying [conflate][Flow.conflate] to [StateFlow] has no effect.
3739 * See the [StateFlow] documentation on Operator Fusion.
40+ * @suppress
3841 */
3942@Deprecated(
4043 level = DeprecationLevel .ERROR ,
@@ -46,6 +49,7 @@ public fun <T> StateFlow<T>.conflate(): Flow<T> = noImpl()
4649/* *
4750 * Applying [distinctUntilChanged][Flow.distinctUntilChanged] to [StateFlow] has no effect.
4851 * See the [StateFlow] documentation on Operator Fusion.
52+ * @suppress
4953 */
5054@Deprecated(
5155 level = DeprecationLevel .ERROR ,
@@ -54,6 +58,9 @@ public fun <T> StateFlow<T>.conflate(): Flow<T> = noImpl()
5458)
5559public fun <T > StateFlow<T>.distinctUntilChanged (): Flow <T > = noImpl()
5660
61+ /* *
62+ * @suppress
63+ */
5764@Deprecated(
5865 message = " isActive is resolved into the extension of outer CoroutineScope which is likely to be an error." +
5966 " Use currentCoroutineContext().isActive or cancellable() operator instead " +
@@ -65,6 +72,9 @@ public fun <T> StateFlow<T>.distinctUntilChanged(): Flow<T> = noImpl()
6572public val FlowCollector <* >.isActive: Boolean
6673 get() = noImpl()
6774
75+ /* *
76+ * @suppress
77+ */
6878@Deprecated(
6979 message = " cancel() is resolved into the extension of outer CoroutineScope which is likely to be an error." +
7080 " Use currentCoroutineContext().cancel() instead or specify the receiver of cancel() explicitly" ,
@@ -73,6 +83,9 @@ public val FlowCollector<*>.isActive: Boolean
7383)
7484public fun FlowCollector <* >.cancel (cause : CancellationException ? = null): Unit = noImpl()
7585
86+ /* *
87+ * @suppress
88+ */
7689@Deprecated(
7790 message = " coroutineContext is resolved into the property of outer CoroutineScope which is likely to be an error." +
7891 " Use currentCoroutineContext() instead or specify the receiver of coroutineContext explicitly" ,
@@ -82,6 +95,9 @@ public fun FlowCollector<*>.cancel(cause: CancellationException? = null): Unit =
8295public val FlowCollector <* >.coroutineContext: CoroutineContext
8396 get() = noImpl()
8497
98+ /* *
99+ * @suppress
100+ */
85101@Deprecated(
86102 message = " SharedFlow never completes, so this operator typically has not effect, it can only " +
87103 " catch exceptions from 'onSubscribe' operator" ,
@@ -92,6 +108,9 @@ public val FlowCollector<*>.coroutineContext: CoroutineContext
92108public inline fun <T > SharedFlow<T>.catch (noinline action : suspend FlowCollector <T >.(cause: Throwable ) -> Unit ): Flow <T > =
93109 (this as Flow <T >).catch (action)
94110
111+ /* *
112+ * @suppress
113+ */
95114@Deprecated(
96115 message = " SharedFlow never completes, so this operator has no effect." ,
97116 level = DeprecationLevel .WARNING ,
@@ -104,6 +123,9 @@ public inline fun <T> SharedFlow<T>.retry(
104123): Flow <T > =
105124 (this as Flow <T >).retry(retries, predicate)
106125
126+ /* *
127+ * @suppress
128+ */
107129@Deprecated(
108130 message = " SharedFlow never completes, so this operator has no effect." ,
109131 level = DeprecationLevel .WARNING ,
@@ -113,6 +135,9 @@ public inline fun <T> SharedFlow<T>.retry(
113135public inline fun <T > SharedFlow<T>.retryWhen (noinline predicate : suspend FlowCollector <T >.(cause: Throwable , attempt: Long ) -> Boolean ): Flow <T > =
114136 (this as Flow <T >).retryWhen(predicate)
115137
138+ /* *
139+ * @suppress
140+ */
116141@Suppress(" DeprecatedCallableAddReplaceWith" )
117142@Deprecated(
118143 message = " SharedFlow never completes, so this terminal operation never completes." ,
@@ -122,6 +147,9 @@ public inline fun <T> SharedFlow<T>.retryWhen(noinline predicate: suspend FlowCo
122147public suspend inline fun <T > SharedFlow<T>.toList (): List <T > =
123148 (this as Flow <T >).toList()
124149
150+ /* *
151+ * @suppress
152+ */
125153@Suppress(" DeprecatedCallableAddReplaceWith" )
126154@Deprecated(
127155 message = " SharedFlow never completes, so this terminal operation never completes." ,
@@ -131,6 +159,9 @@ public suspend inline fun <T> SharedFlow<T>.toList(): List<T> =
131159public suspend inline fun <T > SharedFlow<T>.toSet (): Set <T > =
132160 (this as Flow <T >).toSet()
133161
162+ /* *
163+ * @suppress
164+ */
134165@Suppress(" DeprecatedCallableAddReplaceWith" )
135166@Deprecated(
136167 message = " SharedFlow never completes, so this terminal operation never completes." ,
0 commit comments