Module: Bob::BackgroundEngines
- Defined in:
- lib/bob/background_engines.rb,
lib/bob/background_engines/threaded.rb,
lib/bob/background_engines/foreground.rb
Overview
Different engines to run code in background. An engine is any object that responds to #call and takes a Proc object, which should be executed “in the background”. The different engines are:
Defined Under Namespace
Classes: Threaded
Constant Summary collapse
- Foreground =
Dummy engine that just runs in the foreground (useful for tests).
lambda {|b| b.call }