This is an automated email from the ASF dual-hosted git repository.

xyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-node.git


The following commit(s) were added to refs/heads/master by this push:
     new 6f926d6  Return client close promise (#457)
6f926d6 is described below

commit 6f926d6391ba1994e49080635f118c38637cde55
Author: Nasser Oloumi <[email protected]>
AuthorDate: Wed Feb 11 05:55:30 2026 -0800

    Return client close promise (#457)
---
 src/Client.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Client.js b/src/Client.js
index f51b1b6..150bbed 100644
--- a/src/Client.js
+++ b/src/Client.js
@@ -49,7 +49,7 @@ class Client {
   }
 
   close() {
-    this.client.close();
+    return this.client.close();
   }
 
   static setLogHandler(params) {

Reply via email to