Class: MongoJob::Deamon
- Inherits:
-
Object
- Object
- MongoJob::Deamon
- Extended by:
- Mixins::FiberRunner::ClassMethods
- Includes:
- Mixins::FiberRunner::InstanceMethods
- Defined in:
- lib/mongojob/deamon.rb
Instance Method Summary collapse
-
#run ⇒ Object
Runs the worker.
Methods included from Mixins::FiberRunner::ClassMethods
Methods included from Mixins::FiberRunner::InstanceMethods
#run_defined_tasks, #run_em_fiber
Instance Method Details
#run ⇒ Object
Runs the worker
10 11 12 13 14 |
# File 'lib/mongojob/deamon.rb', line 10 def run EM.run do run_defined_tasks end end |