asSharedFlow

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

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

Sources

common source
Link copied to clipboard