[Mlir-commits] [mlir] [mlir-lsp] Support outgoing requests (PR #90078)

Brian Gesiak llvmlistbot at llvm.org
Mon Apr 29 08:02:53 PDT 2024


================
@@ -171,14 +171,44 @@ class MessageHandler {
     };
   }
 
+  /// Create an OutgoingMessage function that, when called, sends a request with
+  /// the given method and ID via the transport. Should the outgoing request be
+  /// met with a response, the response callback is invoked to handle that
+  /// response.
+  template <typename T>
+  OutgoingMessage<T> outgoingRequest(
+      llvm::StringLiteral method, llvm::json::Value id,
----------------
modocache wrote:

Just closing the loop on this: #90076 was reverted in https://github.com/llvm/llvm-project/commit/6844c2feae93dd4251, so I didn't need to revert it myself.

https://github.com/llvm/llvm-project/pull/90078


More information about the Mlir-commits mailing list