forked from eventmachine/eventmachine
-
Notifications
You must be signed in to change notification settings - Fork 0
EventMachine: fast, simple event-processing library for Ruby programs
unsouled/eventmachine
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
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 0
No packages published
Languages
- Ruby 58.2%
- C++ 29.4%
- Java 7.6%
- C 4.8%