class TypeProf::LSP::Message::CancelRequest

Constants

METHOD

Public Instance Methods

run() click to toggle source
# File typeprof-0.21.3/lib/typeprof/lsp.rb, line 769
def run
  req = @server.running_requests_from_client[@params[:id]]
  #p [:cancel, @params[:id]]
  req.cancel if req.respond_to?(:cancel)
end