Method: Async::Barrier#stop

Defined in:
lib/async/barrier.rb

#stopObject

Stop all tasks held by the barrier.



93
94
95
96
97
98
99
# File 'lib/async/barrier.rb', line 93

def stop
	@tasks.each do |waiting|
		waiting.task.stop
	end
	
	@finished.close
end