Skip to content

Commit

Permalink
Remove buffer from broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitozgumus committed Sep 21, 2024
1 parent 97d0da5 commit 1f4c2d7
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ fun <T> CoroutineScope.createBroadcast(): Broadcast<T> = object : Broadcast<T> {

override val output by lazy {
_source.receiveAsFlow()
.buffer(Channel.BUFFERED)
.shareIn(this@createBroadcast, SharingStarted.Lazily)
}
}

0 comments on commit 1f4c2d7

Please sign in to comment.