[Mlir-commits] [mlir] [mlir-lsp] Parse outgoing request callback JSON (PR #90693)
River Riddle
llvmlistbot at llvm.org
Tue Apr 30 19:30:18 PDT 2024
================
@@ -213,7 +230,10 @@ class MessageHandler {
/// A pair of (1) the original request's method name, and (2) the callback
/// function to be invoked for responses.
- using ResponseHandlerTy = std::pair<std::string, OutgoingRequestCallback>;
+ using ResponseHandlerTy =
+ std::pair<std::string,
+ std::function<void(llvm::json::Value,
+ llvm::Expected<llvm::json::Value>)>>;
----------------
River707 wrote:
```suggestion
std::pair<std::string, OutgoingRequestCallback<llvm::json::Value>>;
```
https://github.com/llvm/llvm-project/pull/90693
More information about the Mlir-commits
mailing list