src/ruby/lib/grpc/generic/bidi_call.rb
# signals that a bidi operation is complete (read + write)
signals that a bidi operation is complete (read + write)
signals that a bidi operation is complete ( read + write )
def finished
      @done_mutex.synchronize do
        return unless @reads_complete && @writes_complete && !@complete
        @call.close
        @complete = true
      end
    end
def finished @done_mutex . synchronize do return unless @reads_complete && @writes_complete && ! @complete @call . close @complete = true end end
signals that a bidi operation is complete (read + write)
signals that a bidi operation is complete ( read + write )