class Concurrent::Promises::ImmediateEventPromise

will be immediately resolved

Public Class Methods

new(default_executor) click to toggle source
# File lib/concurrent-ruby/concurrent/promises.rb, line 1774
def initialize(default_executor)
  super Event.new(self, default_executor).resolve_with(RESOLVED)
end