Method: TonnelRunner#run_async

Defined in:
lib/dblink/tonnel_runner.rb

#run_asyncObject

[View source]

63
64
65
66
67
68
69
70
71
72
73
74
# File 'lib/dblink/tonnel_runner.rb', line 63

def run_async
  @runner_thread = Thread.new do
    begin
      run
    rescue Exception => error
      puts error.message
      puts error.backtrace
    end
  end

  self
end