class Concurrent::Promise
def self.execute(opts = {}, &block)
-
(ArgumentError)- if no block is given
Returns:
-
(Promise)- the newly created `Promise` in the `:pending` state
def self.execute(opts = {}, &block) new(opts, &block).execute end