Class: Mistri::Dispatchers::Inline
- Inherits:
-
Object
- Object
- Mistri::Dispatchers::Inline
- Defined in:
- lib/mistri/dispatchers.rb
Overview
Runs the child synchronously inside the spawn call and still answers in receipt form: background degrades gracefully where no concurrency exists (consoles, tests), and the receipt stays truthful because it reads the child's status after dispatch.
Instance Method Summary collapse
Instance Method Details
#call(_spec, runner) ⇒ Object
26 |
# File 'lib/mistri/dispatchers.rb', line 26 def call(_spec, runner) = runner.call |