Method: Async::Barrier#empty?

Defined in:
lib/async/barrier.rb

#empty?Boolean

Whether there are any tasks being held by the barrier.

Returns:

  • (Boolean)

53
54
55
# File 'lib/async/barrier.rb', line 53

def empty?
	@tasks.empty?
end