fun runTask(taskId: Long): Unit
Use this function along with manually run tasks to have Wendy run it for you. If it is successful, Wendy will take care of deleting it for you.
taskId
- The PendingTask.taskId of PendingTask you wish to run.
IllegalArgumentException
- If the PendingTask for the taskId provided does not exist.
RuntimeException
- If the PendingTask returns false for isTaskAbleToManuallyRun.
See Also