Sha256: fc2fe2f70b9afbca714ab6cc4c49d5cf2f5b66ef635cffa26f6bba07fcd80923
Contents?: true
Size: 383 Bytes
Versions: 15
Compression:
Stored size: 383 Bytes
Contents
# frozen_string_literal: true module Waylon module RSpec # A TestWorker to run queued Skills class TestWorker # Instructs the worker to grab an item off the Queue and run it # @param queue [Queue] The queue that contains work to be done def self.handle(queue) skill, details = queue.pop skill.perform(details) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems