lib/solargraph/language_server/host.rb
# True if the host received a request to cancel the method with the
# specified ID.
#
# @param id [Integer]
# @return [Boolean]
True if the host received a request to cancel the method with the
specified ID.
True if the host received a request to cancel the method with the specified ID .
def cancel? id
        result = false
        @cancel_semaphore.synchronize { result = @cancel.include? id }
        result
      end
def cancel? id result = false @cancel_semaphore . synchronize { result = @cancel . include? id } result end
True if the host received a request to cancel the method with the
specified ID.
True if the host received a request to cancel the method with the specified ID .
None
Boolean
id
None