Sha256: 58160335db39c5d8e2397d9d9e580fdfe832504ceca379e94229d46c4582d82a

Contents?: true

Size: 503 Bytes

Versions: 2

Compression:

Stored size: 503 Bytes

Contents

module Eco
  module API
    class Session
      class Batch
        module Launcher
          module StatusHandling
            private

            def tap_status(enviro:, queue:, method:, status: nil, &block)
              status ||= Eco::API::Session::Batch::Status.new(
                enviro,
                queue:  queue,
                method: method
              )

              status.tap(&block)
            end
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eco-helpers-3.0.18 lib/eco/api/session/batch/launcher/status_handling.rb
eco-helpers-3.0.17 lib/eco/api/session/batch/launcher/status_handling.rb