This is subclassed from EventMachine::Connection for use with the process monitoring API. Read the documentation on the instance methods of this class, and for a full explanation see EventMachine.watch_process.
Returns the pid that EventMachine::watch_process was originally called with.
# File lib/em/process_watch.rb, line 21 def pid @pid end
Should be redefined with the user's custom callback that will be fired when the process exits.
stop_watching is called automatically after this callback
# File lib/em/process_watch.rb, line 34 def process_exited end
Generated with the Darkfish Rdoc Generator 2.