Fetch times taken to queue, run, and since running a task.
task_times(ids, db, unit_elapsed = "secs", sorted = TRUE)
Vector of task ids
Something that can be converted to a context db object (a database, root or context).
Elapsed time unit. The default is "secs".
This is passed to the as.numeric
method of a
difftime
object.
Sort the output in terms of submitted time? If
FALSE
then the output is sorted based on task ids.