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

Inherits:
Data
  • Object
show all
Defined in:
lib/evilution/parallel/work_queue.rb

Overview

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