diff --git a/pkg/server/batching.go b/pkg/server/batching.go index 9a70bdadbdd87926c8bca7837334f4c34f382f83..8f621917432c31bbff671e2b1d07accaf109c84b 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() }