Method: Codebot::ThreadController#join

Defined in:
lib/codebot/thread_controller.rb

#joinThread?

Suspends execution of the calling thread until the managed thread exits.



15
16
17
# File 'lib/codebot/thread_controller.rb', line 15

def join
  @thread.join if running?
end