Create a queueable item that can be used in a queue.
The settings for the new queueable.
Optionalnext?: QueueableThe reference to the next queueable if any
Optionalready?: boolean | FunctionIndicate if the queueable is ready to run
Optionaltask?: anyThe data to be stored in this queueable
ReadonlyclassThe class used to create this instance, so that it can be recognized as valid without an instanceof check.
Whether this queueable has been run to completion.
The task (or data) this queueable holds.
The queueable after this one, or null when this is the last.
Whether this queueable may run, or a function which answers that when asked.
Whether this queueable is running right now.
Check ready state.
Retrieve the data which should be formed as a task.
Set this queueable as completed.
The result to report for the task.
Optionalcontext?: anyProvide additional data in the response
Optionalerror?: anyIndicate a task was error-free (use false) or give an error message
Optionalsuccess?: anyIndicate when the task failed (use false) or give a success message
Intend to run the queued task when it is ready. If ready, mark this task as running and run the task.
StaticfromStaticmakeMake a new Queueable from the data given if it is not already a valid Queueable.
Return a valid Queueable instance from given data, or even an already valid one.
Provide the type of IsLinker to use.
Queueable represents a runnable entry in a queue.