Get returns a task by id.
(id string)
| 646 | |
| 647 | // Get returns a task by id. |
| 648 | func (q *TaskQueue) Get(id string) task.Task { |
| 649 | defer q.MeasureActionTime("Get")() |
| 650 | return q.storage.Get(id) |
| 651 | } |
| 652 | |
| 653 | // AddAfter inserts a task after the task with specified id. |
| 654 | func (q *TaskQueue) AddAfter(id string, tasks ...task.Task) { |
nothing calls this directly
no test coverage detected