class TypeProf::LSP::Message::CancelRequest

Constants

METHOD

Public Instance Methods

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