Module: Circuitry::Processors::Forker
- Extended by:
- Circuitry::Processor
- Defined in:
- lib/circuitry/processors/forker.rb
Class Method Summary collapse
Methods included from Circuitry::Processor
Class Method Details
.flush ⇒ Object
14 15 |
# File 'lib/circuitry/processors/forker.rb', line 14 def flush end |
.process(&block) ⇒ Object
9 10 11 12 |
# File 'lib/circuitry/processors/forker.rb', line 9 def process(&block) pid = fork { safely_process(&block) } Process.detach(pid) end |