Task

class Task<T>

Represents a Task to be processed

Constructors

Task
Link copied to clipboard
fun Task()

Functions

clear
Link copied to clipboard
fun clear()
Clears current Task
onError
Link copied to clipboard
fun onError(callback: ErrorListener): Task<T>
Adds error catching callback to current Task
onSuccess
Link copied to clipboard
fun onSuccess(callback: SuccessListener<T>): Task<T>
Adds success callback to current Task