class Solargraph::LanguageServer::Request
def initialize id, &block
-
&block
() -- The block that processes the client's response
-
id
(Integer
) --
def initialize id, &block @id = id @block = block end
def process result
-
(void)
-
Parameters:
-
result
(Object
) --
def process result @block.call(result) unless @block.nil? end
def send_response
def send_response # noop end