class WarpCore::ParallelDispatchQueue

A class to support running blocks in concurrent queue on a background thread.

Public Instance Methods

perform(block = nil) click to toggle source

@!visibility private

# File lib/warpcore/dispatch.rb, line 20
def perform(block = nil)
  block.call() if block.respond_to?(:call)
end