-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency org.jetbrains.kotlin.multiplatform to v1.7.21 (#222)
- Loading branch information
1 parent
e156a9d
commit 8ea33f2
Showing
4 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
package com.juul.tuulbox.temporal | ||
|
||
import kotlinx.coroutines.flow.Flow | ||
import kotlin.time.Duration | ||
import kotlin.time.Duration.Companion.minutes | ||
import kotlin.time.ExperimentalTime | ||
|
||
@ExperimentalTime | ||
internal actual inline fun <T> inlineTemporalFlow( | ||
crossinline factory: () -> T, | ||
): Flow<T> = ticker(Duration.minutes(1), factory) | ||
): Flow<T> = ticker(1.minutes, factory) | ||
|
||
@ExperimentalTime | ||
public actual fun <T> temporalFlow( | ||
factory: () -> T, | ||
): Flow<T> = ticker(Duration.minutes(1), factory) | ||
): Flow<T> = ticker(1.minutes, factory) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package com.juul.tuulbox.temporal | ||
|
||
import kotlinx.coroutines.flow.Flow | ||
import kotlin.time.Duration | ||
import kotlin.time.Duration.Companion.minutes | ||
|
||
internal actual inline fun <T> inlineTemporalFlow( | ||
crossinline factory: () -> T, | ||
): Flow<T> = ticker(Duration.minutes(1), factory) | ||
): Flow<T> = ticker(1.minutes, factory) | ||
|
||
public actual fun <T> temporalFlow( | ||
factory: () -> T, | ||
): Flow<T> = ticker(Duration.minutes(1), factory) | ||
): Flow<T> = ticker(1.minutes, factory) |