mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-24 03:36:51 +00:00
feat(network): enhance connectivity monitoring with request reporting
This commit is contained in:
@@ -4,4 +4,8 @@ import kotlinx.coroutines.flow.Flow
|
||||
|
||||
interface NetworkMonitor {
|
||||
val isOnline: Flow<Boolean>
|
||||
|
||||
fun reportRequestSucceeded()
|
||||
|
||||
fun reportRequestFailed(error: Throwable)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user