Module: Requests::Lifecycle::Shutdown

Extended by:
Shutdown
Included in:
Shutdown
Defined in:
lib/holistic/language_server/requests/lifecycle/shutdown.rb

Overview

Instance Method Summary collapse

Instance Method Details

#call(request) ⇒ Object



8
9
10
11
12
# File 'lib/holistic/language_server/requests/lifecycle/shutdown.rb', line 8

def call(request)
  Current.lifecycle.shutdown!

  request.respond_with(nil)
end