Method: Attr::Gather::Workflow::TaskGraph#runnable_tasks

Defined in:
lib/attr/gather/workflow/task_graph.rb

#runnable_tasksObject

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.



37
38
39
40
41
# File 'lib/attr/gather/workflow/task_graph.rb', line 37

def runnable_tasks
  tsort.take_while do |task|
    task.fullfilled_given_remaining_tasks?(registered_tasks)
  end
end