package pl.firmatpp.kierowca.sync

object DriverRuntimeSyncState {
    @Volatile var foreground: Boolean = false
    @Volatile var realtimeConnected: Boolean = false

    fun websocketOwnsForegroundHints(): Boolean = foreground && realtimeConnected
}
