asSharedFlow

fun <T> MutableSharedFlow<T>.asSharedFlow(): SharedFlow<T>

Represents this mutable shared flow as a read-only shared flow.

Sources

Link copied to clipboard