feat(network): enhance connectivity monitoring with request reporting

This commit is contained in:
2026-05-20 17:07:32 +02:00
parent 069f29c1c8
commit 56a2b42434
3 changed files with 80 additions and 9 deletions

View File

@@ -4,4 +4,8 @@ import kotlinx.coroutines.flow.Flow
interface NetworkMonitor {
val isOnline: Flow<Boolean>
fun reportRequestSucceeded()
fun reportRequestFailed(error: Throwable)
}