Class: Evilution::Parallel::WorkQueue::Unfinished Private

Inherits:
Data
  • Object
show all
Defined in:
lib/evilution/parallel/work_queue.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.

Sentinel results for items whose worker never produced a value. The dispatcher writes these into the results array (instead of aborting the whole run) so a single stuck/dead worker only loses its own in-flight item(s). Mutation-aware callers translate the reason into a status.

Instance Attribute Summary collapse

Instance Attribute Details

#reasonObject (readonly)

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



16
17
18
# File 'lib/evilution/parallel/work_queue.rb', line 16

def reason
  @reason
end