Versions in this module Expand all Collapse all v5 v5.0.1 Nov 17, 2026 v5.0.0 Nov 13, 2026 Changes in this version + func NewFactory() taskq.Factory + type Queue struct + func NewQueue(opt *taskq.QueueOptions) *Queue + func NewQueueMaybeConsumer(startConsumer bool, opt *taskq.QueueOptions) *Queue + func (q *Queue) Add(msg *taskq.Message) error + func (q *Queue) Close() error + func (q *Queue) CloseTimeout(timeout time.Duration) error + func (q *Queue) Consumer() taskq.QueueConsumer + func (q *Queue) Delete(msg *taskq.Message) error + func (q *Queue) DeleteBatch(msgs []*taskq.Message) error + func (q *Queue) Len() (int, error) + func (q *Queue) Name() string + func (q *Queue) Options() *taskq.QueueOptions + func (q *Queue) Purge() error + func (q *Queue) Release(msg *taskq.Message) error + func (q *Queue) ReserveN(_ context.Context, _ int, _ time.Duration) ([]taskq.Message, error) + func (q *Queue) SetNoDelay(noDelay bool) + func (q *Queue) SetSync(enabled bool) + func (q *Queue) String() string + func (q *Queue) WaitTimeout(timeout time.Duration) error Other modules containing this package github.com/vmihailenco/taskq github.com/vmihailenco/taskq/memqueue/v4 github.com/vmihailenco/taskq/v2 github.com/vmihailenco/taskq/v3