Skip to content

Commit

Permalink
Remove WhileSubscribed receiver
Browse files Browse the repository at this point in the history
  • Loading branch information
janseeger committed May 22, 2024
1 parent 5a1d595 commit 0c9107a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package de.sipgate.dachlatten.flow
import kotlinx.coroutines.flow.SharingStarted
import kotlin.time.Duration

fun SharingStarted.WhileSubscribed(duration: Duration): SharingStarted {
fun WhileSubscribed(duration: Duration): SharingStarted {
return SharingStarted.WhileSubscribed(stopTimeoutMillis = duration.inWholeMilliseconds)
}

0 comments on commit 0c9107a

Please sign in to comment.