Method: Thread::Pipe::Task#empty?

Defined in:
lib/thread/pipe.rb

#empty?Boolean

Check if the task has nothing to do.

Returns:

  • (Boolean)


43
44
45
# File 'lib/thread/pipe.rb', line 43

def empty?
	!@handling && @input.empty? && @output.empty?
end