subscribeToNetworkEvents

fun <Error class: unknown class>.subscribeToNetworkEvents(): Flow<<Error class: unknown class>>

Returns a Flow of network events.

Note the event subscription is created only after the flow starts being consumed.