Job

class Job(tag: String, isSynchronous: Boolean, runnable: Runnable)

Author

Umang Chamaria

Constructors

Job
Link copied to clipboard
fun Job(tag: String, isSynchronous: Boolean, runnable: Runnable)

Properties

isSynchronous
Link copied to clipboard
val isSynchronous: Boolean
if true multiple Jobs with the same tag cannot be queued or executed in parallel.
runnable
Link copied to clipboard
val runnable: Runnable
Code to be run on background thread
tag
Link copied to clipboard
val tag: String
Unique Identifier for the Job