class Concurrent::Edge::CompletableEvent

A Event which can be completed by user.

Public Instance Methods

complete(raise_on_reassign = true) click to toggle source

Complete the Event, `raise` if already completed

# File lib/concurrent/edge/future.rb, line 844
def complete(raise_on_reassign = true)
  complete_with COMPLETED, raise_on_reassign
end
hide_completable() click to toggle source
# File lib/concurrent/edge/future.rb, line 848
def hide_completable
  EventWrapperPromise.new(self, @DefaultExecutor).event
end