================ @@ -46,7 +46,14 @@ class BaseRequestHandler { virtual ~BaseRequestHandler() = default; - void Run(const protocol::Request &); + /// Return `true` if the request should be deferred. + [[nodiscard]] + bool Run(const protocol::Request &); + + [[nodiscard]] + virtual bool DeferRequest() const { ---------------- ashgti wrote:
This is specifically about deferring until configurationDone is called. We don't really have support for an async request handler yet. I thought about implementing an `AsyncRequestHandler` that would allow the request handler to unblock the handler queue before sending a reply, but I haven't needed it just yet so I haven't sent that out for a PR. Thats a long winded way of saying, should we make this more specific? Maybe `DeferUntilConfigurationDone`? I'm open to other names, just want to be clear. https://github.com/llvm/llvm-project/pull/140260 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits