Sha256: 9c04309cfde9d7785f2fc281a8ac8bcfb36bd7aba52cdba4f392f55892167c38
Contents?: true
Size: 504 Bytes
Versions: 30
Compression:
Stored size: 504 Bytes
Contents
require_relative './base_job' module CanvasSync module JobBatches class SerialBatchJob < BaseJob def self.make_batch(sub_jobs, context: nil, &blk) ManagedBatchJob.make_batch( sub_jobs, ordered: true, concurrency: false, context: context, desc_prefix: 'SerialBatchJob', &blk ) end def perform(sub_jobs, context: nil) self.class.make_batch(sub_jobs, context: context) end end end end
Version data entries
30 entries across 30 versions & 1 rubygems