Class Rufus::Scheduler::EmScheduler
In: lib/rufus/sc/scheduler.rb
Parent: SchedulerCore

A rufus-scheduler that uses an EventMachine periodic timer instead of a loop.

Methods

join   new   start   stop   trigger_job  

Public Class methods

Public Instance methods

Joins this scheduler. Will actually join it only if it started the underlying EventMachine.

Stops the scheduler.

If the :stop_em option is passed and set to true, it will stop the EventMachine (but only if it started the EM by itself !).

Protected Instance methods

If ‘blocking’ is set to true, the block will get called at the ‘next_tick’. Else the block will get called via ‘defer’ (own thread).

[Validate]