package com.example.modifier.data

import com.example.modifier.enums.ReqState

data class AppState(
    val send: Boolean,
    val executedNum: Int,
    val successNum: Int,
    val requestedNum: Int,
    val running: Boolean,
    val preparing: Boolean,
    val checkingConnection: Boolean,
    val suspended: Boolean,
    val reqState: ReqState,
    val storing: Boolean = false,
) {

    val busy: Boolean
        get() = running || preparing || checkingConnection || storing || reqState != ReqState.NONE
}
