Sha256: 8be251dc5729571224e9e8481b1d19bd02ae0e72118100d5c90aa017a06e654a

Contents?: true

Size: 349 Bytes

Versions: 2

Compression:

Stored size: 349 Bytes

Contents

require_relative "launcher/bounded"
require_relative "launcher/unbounded"

module Harmoniser
  module Launcher
    class << self
      def call(configuration:, logger:)
        return Bounded.new(configuration:, logger:) unless configuration.options.unbounded_concurrency?

        UnBounded.new(configuration:, logger:)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
harmoniser-0.11.0 lib/harmoniser/launcher.rb
harmoniser-0.10.0 lib/harmoniser/launcher.rb