Skip to content

Commit 53e5eb1

Browse files
committed
Fix compilations
1 parent bef66ba commit 53e5eb1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

extensionslib/src/main/java/com/omega_r/libs/extensions/coroutines/CoroutinesExtensions.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import kotlinx.coroutines.delay
77
import kotlinx.coroutines.launch
88
import kotlin.time.Duration
99
import kotlin.time.DurationUnit
10+
import kotlin.time.ExperimentalTime
1011
import kotlin.time.toDuration
1112

1213
fun CoroutineScope.launchWithTicker(
@@ -35,6 +36,7 @@ fun CoroutineScope.launchWithTicker(
3536
return tickerChannel
3637
}
3738

39+
@ExperimentalTime
3840
fun CoroutineScope.launchWithTicker(
3941
ticksCount: Int,
4042
tickDuration: Duration,
@@ -58,6 +60,7 @@ fun CoroutineScope.launchDelayed(delayMillis: Long, action: suspend () -> Unit)
5860
}
5961
}
6062

63+
@ExperimentalTime
6164
fun CoroutineScope.launchDelayed(delayDuration: Duration, action: suspend () -> Unit) {
6265
launch {
6366
delay(delayDuration)

0 commit comments

Comments
 (0)