8

I want to know about perform_async in sidekiq. As I could not found any documentation on this while everyone is using this.

So can someone please explain this to me or provide a resource.

hjhku
  • 151
  • 1
  • 1
  • 8

1 Answers1

14

perform_async - a method that push your job with your params in the async queue (create a record in your async backend, Redis by default), to allow Sidekiq catch and perform it on the order of queue

Source: https://github.com/mperham/sidekiq/blob/e2f92e8279d1947aa45eb86acc73f9ebe7a92c9c/lib/sidekiq/worker.rb#L6-L43

Dorian
  • 7,749
  • 4
  • 38
  • 57
Xiting
  • 881
  • 8
  • 16