Skip to content

v0.1.10

Choose a tag to compare

@taylorchu taylorchu released this 18 Apr 18:53
· 63 commits to master since this release
4d17b15
  • if context handler is used, worker.Stop will be able to quickly stop current job execution.
  • add external enqueuer interface to enqueue job into other queue systems.
// ExternalEnqueuer enqueues a job with other queue protocol.
// Queue adaptor that implements this can publish jobs directly to other types of queue systems.
type ExternalEnqueuer interface {
	ExternalEnqueue(*Job, *EnqueueOptions) error
}
  • sidekiq.Queue implements work.ExternalEnqueuer