Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

reduce ruby baud rate

class AsyncWorker
  def initialize(&blk)
    @blk = Thread.new(&blk)
  end

  def call
    @blk.join
    @blk.value
  end
end
Source by blog.dnsimple.com #
 
PREVIOUS NEXT
Tagged: #reduce #ruby #baud #rate
ADD COMMENT
Topic
Name
1+4 =