Sha256: 59cbbb9d6028464ccd2a77da6917017bfcaacf50a7413b3e5d341bb4e1c0827e

Contents?: true

Size: 501 Bytes

Versions: 1

Compression:

Stored size: 501 Bytes

Contents

= Queue to the Future!

An easy way to create asynchronous execution paths in an unobtrusive way. Queue to the Future uses a managed pool of workers
to keep overhead to a minimum.

== Synopsis
  require "queue_to_the_future"
  
  # returns immediately
  result = Future("list", "of", "args") do |*args|
    sleep(1)
    args.join(" ")
  end
  
  # blocks until completed
  puts result                    #=> "list of args"

== Copyright

Copyright (c) 2010 Devin Christensen. See LICENSE for details.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
queue_to_the_future-0.1.1 README.rdoc