@@ -125,6 +125,11 @@ val Time.nowMillis: Long
125
125
126
126
/* *
127
127
* Advances the current time by [delay].
128
+ *
129
+ * ### Stability warning
130
+ *
131
+ * The KotlinX.Coroutines team is considering removing this functionality.
132
+ * Learn more in [#3919](https://github.com/Kotlin/kotlinx.coroutines/issues/3919).
128
133
*/
129
134
@ExperimentalCoroutinesApi
130
135
fun Time.advanceByMillis (delay : Long ) {
@@ -145,6 +150,11 @@ fun Time.advanceByMillis(delay: Long) {
145
150
* assertEquals(2.minutes, elapsed)
146
151
* }
147
152
* ```
153
+ *
154
+ * ### Stability warning
155
+ *
156
+ * The KotlinX.Coroutines team is considering removing this functionality.
157
+ * Learn more in [#3919](https://github.com/Kotlin/kotlinx.coroutines/issues/3919).
148
158
*/
149
159
@ExperimentalCoroutinesApi
150
160
fun Time.advanceBy (delay : Duration ) {
@@ -184,6 +194,11 @@ fun Time.advanceBy(delay: Duration) {
184
194
*
185
195
* This method advances time until all the last [foreground tasks][TestDsl.launch]'s scheduled time.
186
196
* There may be [background tasks][TestDsl.launchInBackground] that are scheduled for later.
197
+ *
198
+ * ### Stability warning
199
+ *
200
+ * The KotlinX.Coroutines team is considering removing this functionality.
201
+ * Learn more in [#3919](https://github.com/Kotlin/kotlinx.coroutines/issues/3919).
187
202
*/
188
203
@ExperimentalCoroutinesApi
189
204
fun Time.advanceUntilIdle () {
@@ -211,6 +226,11 @@ fun Time.advanceUntilIdle() {
211
226
* time.runCurrent() // prints "Hello world!"
212
227
* }
213
228
* ```
229
+ *
230
+ * ### Stability warning
231
+ *
232
+ * The KotlinX.Coroutines team is considering removing this functionality.
233
+ * Learn more in [#3919](https://github.com/Kotlin/kotlinx.coroutines/issues/3919).
214
234
*/
215
235
@ExperimentalCoroutinesApi
216
236
fun Time.runCurrent () {
0 commit comments