Sha256: d404f7d103d57d5343cd64c890b4b4bca6287c88c9323531b1ab651f3b613f10

Contents?: true

Size: 332 Bytes

Versions: 12

Compression:

Stored size: 332 Bytes

Contents

module EY
  module Serverside
    $LOAD_PATH.unshift File.expand_path('../../vendor/celluloid/lib', File.dirname(__FILE__))
    require 'celluloid'
    class Future
      def self.call(blocks)
        map(blocks).each {|f| f.result }
      end

      def call
        Celluloid::Future.new(&@block).call
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
engineyard-serverside-2.0.4 lib/engineyard-serverside/futures/celluloid.rb
engineyard-serverside-2.0.3 lib/engineyard-serverside/futures/celluloid.rb
engineyard-serverside-2.0.2 lib/engineyard-serverside/futures/celluloid.rb
engineyard-serverside-2.0.1 lib/engineyard-serverside/futures/celluloid.rb
engineyard-serverside-2.0.0 lib/engineyard-serverside/futures/celluloid.rb
engineyard-serverside-2.0.0.rc1 lib/engineyard-serverside/futures/celluloid.rb
engineyard-serverside-2.0.0.pre5 lib/engineyard-serverside/futures/celluloid.rb
engineyard-serverside-2.0.0.pre4 lib/engineyard-serverside/futures/celluloid.rb
engineyard-serverside-2.0.0.pre3 lib/engineyard-serverside/futures/celluloid.rb
engineyard-serverside-2.0.0.pre2 lib/engineyard-serverside/futures/celluloid.rb
engineyard-serverside-2.0.0.pre1 lib/engineyard-serverside/futures/celluloid.rb
engineyard-serverside-1.7.0.pre2 lib/engineyard-serverside/futures/celluloid.rb