class Concurrent::Promise
def complete(success, value, reason)
Experimental RBS support (using type sampling data from the type_fusion
project).
def complete: (true success, Array[Sprockets::Asset] value, nil reason) -> Concurrent::Collection::CopyOnWriteObserverSet
This signature was generated using 1 sample from 1 application.
def complete(success, value, reason) children_to_notify = synchronize do set_state!(success, value, reason) @children.dup end children_to_notify.each { |child| notify_child(child) } observers.notify_and_delete_observers{ [Time.now, self.value, reason] } end