@@ -97,7 +97,7 @@ public fun <T> Flow<T>.publishOn(context: CoroutineContext): Flow<T> = noImpl()
97
97
* Opposed to subscribeOn, it it **possible** to use multiple `flowOn` operators in the one flow
98
98
* @suppress
99
99
*/
100
- @Deprecated(message = " Use flowOn instead" , level = DeprecationLevel .ERROR )
100
+ @Deprecated(message = " Use ' flowOn' instead" , level = DeprecationLevel .ERROR )
101
101
public fun <T > Flow<T>.subscribeOn (context : CoroutineContext ): Flow <T > = noImpl()
102
102
103
103
/* *
@@ -149,7 +149,7 @@ public fun <T> Flow<T>.onErrorResumeNext(fallback: Flow<T>): Flow<T> = noImpl()
149
149
* @suppress
150
150
*/
151
151
@Deprecated(
152
- message = " Use launchIn with onEach, onCompletion and catch operators instead" ,
152
+ message = " Use ' launchIn' with ' onEach', ' onCompletion' and ' catch' instead" ,
153
153
level = DeprecationLevel .ERROR
154
154
)
155
155
public fun <T > Flow<T>.subscribe (): Unit = noImpl()
@@ -159,7 +159,7 @@ public fun <T> Flow<T>.subscribe(): Unit = noImpl()
159
159
* @suppress
160
160
*/
161
161
@Deprecated(
162
- message = " Use launchIn with onEach, onCompletion and catch operators instead" ,
162
+ message = " Use ' launchIn' with ' onEach', ' onCompletion' and ' catch' instead" ,
163
163
level = DeprecationLevel .ERROR
164
164
)public fun <T > Flow<T>.subscribe (onEach : suspend (T ) -> Unit ): Unit = noImpl()
165
165
@@ -168,7 +168,7 @@ public fun <T> Flow<T>.subscribe(): Unit = noImpl()
168
168
* @suppress
169
169
*/
170
170
@Deprecated(
171
- message = " Use launchIn with onEach, onCompletion and catch operators instead" ,
171
+ message = " Use ' launchIn' with ' onEach', ' onCompletion' and ' catch' instead" ,
172
172
level = DeprecationLevel .ERROR
173
173
)public fun <T > Flow<T>.subscribe (onEach : suspend (T ) -> Unit , onError : suspend (Throwable ) -> Unit ): Unit = noImpl()
174
174
@@ -179,7 +179,7 @@ public fun <T> Flow<T>.subscribe(): Unit = noImpl()
179
179
*/
180
180
@Deprecated(
181
181
level = DeprecationLevel .ERROR ,
182
- message = " Flow analogue is named flatMapConcat" ,
182
+ message = " Flow analogue is ' flatMapConcat' " ,
183
183
replaceWith = ReplaceWith (" flatMapConcat(mapper)" )
184
184
)
185
185
public fun <T , R > Flow<T>.flatMap (mapper : suspend (T ) -> Flow <R >): Flow <R > = noImpl()
@@ -431,7 +431,7 @@ public fun <T, R> Flow<T>.switchMap(transform: suspend (value: T) -> Flow<R>): F
431
431
432
432
@Deprecated(
433
433
level = DeprecationLevel .ERROR ,
434
- message = " Flow analogue of 'publish' is 'shareIn' operator . \n " +
434
+ message = " Flow analogue of 'publish() ' is 'shareIn'. \n " +
435
435
" publish().connect() is the default strategy (no extra call is needed), \n " +
436
436
" publish().autoConnect() translates to 'started = SharingStared.Lazily' argument, \n " +
437
437
" publish().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument." ,
@@ -441,7 +441,7 @@ public fun <T> Flow<T>.publish(): Flow<T> = noImpl()
441
441
442
442
@Deprecated(
443
443
level = DeprecationLevel .ERROR ,
444
- message = " Flow analogue of 'publish(bufferSize)' is 'buffer' operator followed by 'shareIn'. \n " +
444
+ message = " Flow analogue of 'publish(bufferSize)' is 'buffer' followed by 'shareIn'. \n " +
445
445
" publish().connect() is the default strategy (no extra call is needed), \n " +
446
446
" publish().autoConnect() translates to 'started = SharingStared.Lazily' argument, \n " +
447
447
" publish().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument." ,
@@ -451,7 +451,7 @@ public fun <T> Flow<T>.publish(bufferSize: Int): Flow<T> = noImpl()
451
451
452
452
@Deprecated(
453
453
level = DeprecationLevel .ERROR ,
454
- message = " Flow analogue of 'replay()' is 'shareIn' operator with unlimited replay. \n " +
454
+ message = " Flow analogue of 'replay()' is 'shareIn' with unlimited replay. \n " +
455
455
" replay().connect() is the default strategy (no extra call is needed), \n " +
456
456
" replay().autoConnect() translates to 'started = SharingStared.Lazily' argument, \n " +
457
457
" replay().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument." ,
@@ -461,7 +461,7 @@ public fun <T> Flow<T>.replay(): Flow<T> = noImpl()
461
461
462
462
@Deprecated(
463
463
level = DeprecationLevel .ERROR ,
464
- message = " Flow analogue of 'replay(bufferSize)' is 'shareIn' operator with the specified replay parameter. \n " +
464
+ message = " Flow analogue of 'replay(bufferSize)' is 'shareIn' with the specified replay parameter. \n " +
465
465
" replay().connect() is the default strategy (no extra call is needed), \n " +
466
466
" replay().autoConnect() translates to 'started = SharingStared.Lazily' argument, \n " +
467
467
" replay().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument." ,
@@ -471,7 +471,7 @@ public fun <T> Flow<T>.replay(bufferSize: Int): Flow<T> = noImpl()
471
471
472
472
@Deprecated(
473
473
level = DeprecationLevel .ERROR ,
474
- message = " Flow analogue of 'cache()' is 'shareIn' operator with unlimited replay and 'started = SharingStared.Lazily' argument'" ,
474
+ message = " Flow analogue of 'cache()' is 'shareIn' with unlimited replay and 'started = SharingStared.Lazily' argument'" ,
475
475
replaceWith = ReplaceWith (" this.shareIn(scope, Int.MAX_VALUE, started = SharingStared.Lazily)" )
476
476
)
477
477
public fun <T > Flow<T>.cache (): Flow <T > = noImpl()
0 commit comments