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

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Represents a task that might not execute. Similar to a regular task in all functions except that it is not assured a chance to execute. Whereas a begin/run/execute block cannot be closed while there are still ‘nonDaemonHeirs`, a DaemonTask can enter 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, #fail, #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

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


161
162
163
# File 'lib/aws/flow/tasks.rb', line 161

def is_daemon?
  return true
end