@@ -21,6 +21,10 @@ class AsyncClient {
2121 return this . _client . connected ;
2222 }
2323
24+ get reconnecting ( ) {
25+ return this . _client . reconnecting ;
26+ }
27+
2428 publish ( ...args ) {
2529 return new Promise ( ( resolve , reject ) => {
2630 this . _client . publish ( ...args , ( err , result ) => {
@@ -69,6 +73,10 @@ class AsyncClient {
6973 return this . _client . eventNames ( ...args ) ;
7074 }
7175
76+ getLastMessageId ( ...args ) {
77+ return this . _client . getLastMessageId ( ...args ) ;
78+ }
79+
7280 getMaxListeners ( ...args ) {
7381 return this . _client . getMaxListeners ( ...args ) ;
7482 }
@@ -101,6 +109,10 @@ class AsyncClient {
101109 return this . _client . prependOnceListener ( ...args ) ;
102110 }
103111
112+ rawListeners ( ...args ) {
113+ return this . _client . rawListeners ( ...args ) ;
114+ }
115+
104116 removeAllListeners ( ...args ) {
105117 return this . _client . removeAllListeners ( ...args ) ;
106118 }
@@ -109,13 +121,14 @@ class AsyncClient {
109121 return this . _client . removeListener ( ...args ) ;
110122 }
111123
124+ removeOutgoingMessage ( ...args ) {
125+ return this . _client . removeOutgoingMessage ( ...args ) ;
126+ }
127+
112128 setMaxListeners ( ...args ) {
113129 return this . _client . setMaxListeners ( ...args ) ;
114130 }
115131
116- rawListeners ( ...args ) {
117- return this . _client . rawListeners ( ...args ) ;
118- }
119132}
120133
121134
0 commit comments