SuspendingTasks returns the numbers of suspending tasks.
()
| 177 | |
| 178 | // SuspendingTasks returns the numbers of suspending tasks. |
| 179 | func (q *queue) SuspendingTasks() int { |
| 180 | return int(q.metric.SuspendingTasks()) |
| 181 | } |
| 182 | |
| 183 | // QueueTask to queue single Task |
| 184 | func (q *queue) QueueTask(ctx context.Context, t Task) error { |
nothing calls this directly
no test coverage detected