Class: AWS::Flow::Core::DaemonTask

Inherits:
Task show all
Defined in:
lib/aws/flow/tasks.rb

Overview

Similar to a regular Task in all functioning except that it is not assured a chance to execute. Whereas a begin/run/execute block cannot be closed out while there are still nonDaemonHeirs, it can happily entered the closed state with daemon heirs, making them essentially unrunnable.

Instance Attribute Summary

Attributes inherited from Task

#__context__, #backtrace, #block, #parent, #result

Instance Method Summary collapse

Methods inherited from Task

#<<, #alive?, #cancel, #executor, #get_heirs, #initialize, #remove, #schedule

Methods inherited from FlowFiber

[], #[], #[]=, []=, finalize, #initialize, unset

Constructor Details

This class inherits a constructor from AWS::Flow::Core::Task

Instance Method Details

#is_daemon?Boolean

Returns:

  • (Boolean)


142
143
144
# File 'lib/aws/flow/tasks.rb', line 142

def is_daemon?
  return true
end