Skip to content

Commit

Permalink
Restore SkieKotlinSharedFlow
Browse files Browse the repository at this point in the history
natura1ie committed Sep 7, 2024
1 parent b8558b7 commit 7a67708
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package io.github.droidkaigi.confsched.shared

import kotlinx.coroutines.flow.MutableSharedFlow

class SkieKotlinSharedFlowFactory<T : Any> {
fun createSkieKotlinSharedFlow(
replay: Int = 0,
extraBufferCapacity: Int = 0,
): MutableSharedFlow<T> = MutableSharedFlow(
replay = replay,
extraBufferCapacity = extraBufferCapacity
)
}

0 comments on commit 7a67708

Please sign in to comment.