Module: Deferred

Includes:
InstanceMethods
Defined in:
lib/deferred.rb,
lib/deferred.rb,
lib/deferred/default.rb,
lib/deferred/version.rb,
lib/deferred/accessors.rb,
lib/deferred/threadpool_job.rb,
lib/deferred/instance_methods.rb

Defined Under Namespace

Modules: Accessors, InstanceMethods, ThreadpoolJob Classes: Default, DefaultThreadpoolJob, DeferredError, OnRunBlockNotRegisteredError

Constant Summary collapse

VERSION =
"0.5.4"

Class Method Summary collapse

Methods included from InstanceMethods

#callback, #chain_err, #chain_to, #ensure_that, #errback, #errback_on_exception, #timeout

Class Method Details

.new_defaultObject

convenience to return a new Deferred::Default instance this would be .new but that might have strange effects on classes that mix in this module



14
15
16
# File 'lib/deferred.rb', line 14

def self.new_default
  Deferred::Default.new
end