Class: Raktr::Tasks::Persistent

Inherits:
Base
  • Object
show all
Defined in:
lib/raktr/tasks/persistent.rb

Overview

Task which does not cancel itself once called and occurs at every tick.

Direct Known Subclasses

Periodic

Instance Attribute Summary

Attributes inherited from Base

#owner

Instance Method Summary collapse

Methods inherited from Base

#done, #hash, #initialize, #to_proc

Constructor Details

This class inherits a constructor from Raktr::Tasks::Base

Instance Method Details

#call(*args) ⇒ Object

Performs the task and marks it as Base#done.

Returns:

  • (Object)

    Return value of the task.



22
23
24
# File 'lib/raktr/tasks/persistent.rb', line 22

def call( *args )
    call_task( *args )
end