class Litejob::Processor

def initialize(queue, id, serialized_job)

Experimental RBS support (using type sampling data from the type_fusion project).

def initialize: (String queue, String id, String serialized_job) -> void

This signature was generated using 42 samples from 2 applications.

def initialize(queue, id, serialized_job)
  @queue = queue
  @id = id
  @serialized_job = serialized_job
  @job_hash = JSON.parse(@serialized_job)
  @litequeue = Litequeue.instance
  set_log_context!(queue: @queue, class: @job_hash["class"], job: @id)
end