From 77eb36758cce9c5d05fd6b97765b41fa373737c0 Mon Sep 17 00:00:00 2001 From: a <a@tuxpa.in> Date: Sun, 31 Mar 2024 20:54:34 -0500 Subject: [PATCH] a --- pkg/server/batching.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/server/batching.go b/pkg/server/batching.go index 9a70bda..8f62191 100644 --- a/pkg/server/batching.go +++ b/pkg/server/batching.go @@ -79,6 +79,8 @@ func serveBatch(ctx context.Context, rw.Send(jsonrpc.Null, nil) } } + // note that we wait for ServeRPC to return here + // this is again, so that we can promise that batch requests, even notifications, are sequentially served. run() } -- GitLab