u
This commit is contained in:
		
							parent
							
								
									345e924fc5
								
							
						
					
					
						commit
						3b82c0da98
					
				
							
								
								
									
										2
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								index.js
									
									
									
									
									
								
							@ -60,7 +60,7 @@ const DAD = (module.exports = class RpcSocket extends ws {
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  reconnectAsync(url) {
 | 
			
		||||
    if (this.readyState < ws.CLOSING) {
 | 
			
		||||
    if (this.readyState === ws.CONNECTING || this.readyState === ws.OPEN) {
 | 
			
		||||
      return Promise.resolve(this)
 | 
			
		||||
    }
 | 
			
		||||
    return new Promise((resolve, reject) => {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user