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

commonMain.kase.ExecutorState.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 kotlinx.JsExport

/**
 * An ExecutorState is a state model that passes through an [Executing] phase.
 *
 * Conceptually, these are things that start from a [Pending] state.
 * The need to be explicitly started for them to begin Execution and
 * enter into an [Executing] state. Hence the name, Executor
 */
sealed interface ExecutorState : State, CanPend, CanExecute, CanSucceed, CanFail




© 2015 - 2024 Weber Informatics LLC | Privacy Policy