Work Queue
interface WorkQueue
Represents a queue of work items with a uniform set of worker requirements. Note that this object is not thread-safe.
Since
5.6
Functions
Link copied to clipboard
abstract fun <T : WorkParameters?> submit(workActionClass: Class<out WorkAction<T>>, parameterAction: Action<in T>)
Submits a piece of work to be executed asynchronously.