Sha256: 37f61a9d27732578a62c0503a5c910c53b36d8232eca0064423c3df179945e22

Contents?: true

Size: 219 Bytes

Versions: 1

Compression:

Stored size: 219 Bytes

Contents

# frozen_string_literal: true

class TestJob < ApplicationJob
  def perform(data, wait)
    puts "Receiving new data: #{data}"
    Quiq.current_task.sleep wait
    puts "Time to wake up after #{wait} seconds"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quiq-0.1.0 testapp/app/jobs/test_job.rb