All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.kase.Loading.kt Maven / Gradle / Ivy

There is a newer version: 3.0.13
Show newest version
@file:JsExport
@file:Suppress("NON_EXPORTABLE_TYPE")

package kase

import kase.progress.ProgressState
import kotlinx.JsExport

data class Loading(
    val message: String,
    override val data: D? = null,
    val progress: ProgressState = ProgressState.initial()
) : LazyState {
    override val asPending: Nothing? = null
    override val asLoading: Loading = this
    override val asSuccess: Nothing? = null
    override val asFailure: Nothing? = null
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy