class FDB::FormerFuture

Public Instance Methods

block_until_ready() click to toggle source
# File lib/fdbimpl.rb, line 490
def block_until_ready
end
on_ready() { |self| ... } click to toggle source
# File lib/fdbimpl.rb, line 493
def on_ready(&block)
  begin
    yield self
  rescue Exception
    begin
      $stderr.puts "Discarding uncaught exception from user callback:"
      $stderr.puts "#{$@.first}: #{$!.message} (#{$!.class})", $@.drop(1).map{|s| "\t#{s}"}
    rescue Exception
    end
  end
end
ready?() click to toggle source
# File lib/fdbimpl.rb, line 486
def ready?
  true
end