File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
kotlinx-coroutines-core/common/src/flow/operators Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -195,8 +195,7 @@ state or to complex operations that do not have ready-to-use thread-safe impleme
195
195
196
196
_ Thread confinement_ is an approach to the problem of shared mutable state where all access to the particular shared
197
197
state is confined to a single thread. It is typically used in UI applications, where all UI state is confined to
198
- the single event-dispatch/application thread. It is easy to apply with coroutines by using a
199
- single-threaded context.
198
+ the single event-dispatch/application thread. It is easy to apply with coroutines by using a single-threaded context.
200
199
201
200
<!-- - CLEAR -->
202
201
Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ public fun <T> Flow<T>.sample(period: Duration): Flow<T> = sample(period.toDelay
376
376
*
377
377
* Note that delaying on the downstream doesn't trigger the timeout.
378
378
*
379
- * @param timeout period . If non-positive, the flow is timed out immediately
379
+ * @param timeout Timeout duration . If non-positive, the flow is timed out immediately
380
380
*/
381
381
@FlowPreview
382
382
public fun <T > Flow<T>.timeout (
You can’t perform that action at this time.
0 commit comments