CSConcurrentProcess

open class CSConcurrentProcess<T : Any>(data: MutableList<T>) : CSProcessBase<List<T>>

Constructors

Link copied to clipboard
fun CSConcurrentProcess()
Link copied to clipboard
fun <T : Any> CSConcurrentProcess(vararg adding: CSProcessBase<T>)
Link copied to clipboard
fun <T : Any> CSConcurrentProcess(data: MutableList<T>)

Functions

Link copied to clipboard
fun add(process: CSProcessBase<T>): CSProcessBase<T>
Link copied to clipboard
open override fun cancel()
Link copied to clipboard
fun failed(message: String): CSProcessBase<List<T>>
fun failed(process: CSProcessBase<*>)
fun failed(exception: Throwable?, message: String? = null)
Link copied to clipboard
fun onCancel(function: (CSProcessBase<List<T>>) -> Unit): CSProcessBase<List<T>>
Link copied to clipboard
open override fun onDestroy()
Link copied to clipboard
fun onDone(function: (CSProcessBase<List<T>>) -> Unit): CSProcessBase<List<T>>
Link copied to clipboard
fun onFailed(function: (CSProcessBase<*>) -> Unit): CSProcessBase<List<T>>
Link copied to clipboard
fun onSuccess(function: (CSProcessBase<List<T>>) -> Unit): CSProcessBase<List<T>>
Link copied to clipboard
fun success()
fun success(data: List<T>)
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val associated: CSAssociations
Link copied to clipboard
var data: List<T>?
Link copied to clipboard
val eventCancel: CSEvent<CSProcessBase<List<T>>>
Link copied to clipboard
override val eventDestroy: CSEvent<Unit>
Link copied to clipboard
val eventDone: CSEvent<CSProcessBase<List<T>>>
Link copied to clipboard
val eventFailed: CSEvent<CSProcessBase<*>>
Link copied to clipboard
val eventSuccess: CSEvent<CSProcessBase<List<T>>>
Link copied to clipboard
var failedMessage: String?
Link copied to clipboard
var failedProcess: CSProcessBase<*>?
Link copied to clipboard
var isCanceled: Boolean
Link copied to clipboard
var isDestroyed: Boolean
Link copied to clipboard
var isDone: Boolean
Link copied to clipboard
var isFailed: Boolean
Link copied to clipboard
var isSuccess: Boolean
Link copied to clipboard
val onProgress: CSEvent<CSProcessBase<List<T>>>
Link copied to clipboard
var progress: Long
Link copied to clipboard
override val registrations: CSRegistrations
Link copied to clipboard
var throwable: Throwable?
Link copied to clipboard
var title: String?