class TypeProf::LSP::Message::CancelRequest

Constants

METHOD

Public Instance Methods

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