EnqueueFront adds the work to the front of the queue.
(ctx context.Context, callback CallbackFunc)
| 31 | |
| 32 | // EnqueueFront adds the work to the front of the queue. |
| 33 | func (v *Queue) EnqueueFront(ctx context.Context, callback CallbackFunc) { |
| 34 | v.enqueue(ctx, true, callback) |
| 35 | } |
| 36 | |
| 37 | // EnqueueBack adds the work to the back of the queue. |
| 38 | func (v *Queue) EnqueueBack(ctx context.Context, callback CallbackFunc) { |