CSOperation

open class CSOperation<Data : Any> : CSModel

Constructors

Link copied to clipboard
fun <Data : Any> CSOperation(function: CSOperation<Data>.() -> CSProcessBase<Data>)
Link copied to clipboard
fun CSOperation()

Functions

Link copied to clipboard
fun cancel()
Link copied to clipboard
open fun executeProcess(): CSProcessBase<Data>
Link copied to clipboard
open override fun onDestroy()
Link copied to clipboard
fun onDone(function: ArgFunc<CSProcessBase<Data>>): CSOperation<Data>
Link copied to clipboard
fun onFailed(function: ArgFunc<CSProcessBase<*>>): CSOperation<Data>
Link copied to clipboard
fun onSuccess(function: ArgFunc<CSProcessBase<Data>>): CSOperation<Data>
Link copied to clipboard
fun refresh(): CSOperation<Data>
Link copied to clipboard
fun send(): CSProcessBase<Data>

Properties

Link copied to clipboard
val associated: CSAssociations
Link copied to clipboard
override val eventDestroy: CSEvent<Unit>
Link copied to clipboard
val eventDone: CSEvent<CSProcessBase<Data>>
Link copied to clipboard
val eventFailed: CSEvent<CSProcessBase<*>>
Link copied to clipboard
val eventSuccess: CSEvent<CSProcessBase<Data>>
Link copied to clipboard
var executeProcess: CSOperation<Data>.() -> CSProcessBase<Data>? = null
Link copied to clipboard
var expireMinutes: Int? = 1
Link copied to clipboard
var isActive: Boolean = false
Link copied to clipboard
var isCached: Boolean = true
Link copied to clipboard
var isDestroyed: Boolean
Link copied to clipboard
var isJustUseCache: Boolean = false
Link copied to clipboard
var isRefresh: Boolean = false
Link copied to clipboard
var process: CSProcessBase<Data>? = null
Link copied to clipboard
override val registrations: CSRegistrations

Inheritors

Link copied to clipboard
Link copied to clipboard