discontinuityAsFlow

fun Discontinuity.discontinuityAsFlow(): Flow<ErrorInfo>

Return

ConnectionStatusChange events as a Flow