File: //usr/local/rvm/gems/ruby-2.7.4/doc/concurrent-ruby-1.1.9/ri/Concurrent/Promise/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"Concurrent::Promise::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"8Initialize a new Promise with the provided options.;To:RDoc::Markup::BlankLine o;
; [I"'@!macro executor_and_deref_options;T@o;
; [I"!@!macro promise_init_options;T@o:RDoc::Markup::Verbatim; [
I"T@option opts [Promise] :parent the parent `Promise` when building a chain/tree
;TI"9@option opts [Proc] :on_fulfill fulfillment handler
;TI"6@option opts [Proc] :on_reject rejection handler
;TI"L@option opts [object, Array] :args zero or more arguments to be passed
;TI"" the task block on execution
;T:@format0o;
; [I"?@yield The block operation to be performed asynchronously.;T@o;
; [I"0@raise [ArgumentError] if no block is given;T@o;
; [I"3@see http://wiki.commonjs.org/wiki/Promises/A ;TI"8@see http://promises-aplus.github.io/promises-spec/;T:
@fileI".lib/concurrent-ruby/concurrent/promise.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(opts = {}, &block);T@&TI"Promise;TcRDoc::NormalClass00