Skip to content

Commit 1c7f015

Browse files
author
İbrahim Yilmaz
committed
Documentation is updated according to current implementation.
1 parent e9e737d commit 1c7f015

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kotlinx-coroutines-core/jvm/src/flow/TickerFlow.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@ package kotlinx.coroutines.flow
33
import kotlinx.coroutines.Job
44
import kotlinx.coroutines.channels.TickerMode
55
import kotlinx.coroutines.channels.ticker
6-
import java.util.*
76
import kotlin.coroutines.CoroutineContext
87
import kotlin.coroutines.EmptyCoroutineContext
98

109
/**
1110
* Creates a flow that produces the first item after the given initial delay and subsequent items with the
1211
* given delay between them.
1312
*
14-
* The resulting flow is a callback flow, which basically listens @see [Timer.schedule]
13+
* The resulting flow is basically using [ticker]
1514
*
1615
* This Flow stops producing elements immediately after [Job.cancel] invocation.
1716
*

0 commit comments

Comments
 (0)