Skip to content

EventMachine: fast, simple event-processing library for Ruby programs

Notifications You must be signed in to change notification settings

unsouled/eventmachine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

= EventMachine 

shutdown_wr_after_wrting implementation.

  def test_deferrable_child_process_with_input
    cat = ""
    EM.run {
      d = EM::DeferrableChildProcess.open( "cat" )
      d.send_data 'success result!'
      d.shutdown_wr_after_writing
      d.callback {|data_from_child|
        cat = data_from_child
        EM.stop
      }
    }
    assert( cat == 'success result!')
  end

About

EventMachine: fast, simple event-processing library for Ruby programs

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 58.2%
  • C++ 29.4%
  • Java 7.6%
  • C 4.8%