mirror of
				https://github.com/esiur/esiur-js.git
				synced 2025-10-29 17:10:30 +00:00 
			
		
		
		
	resumed
This commit is contained in:
		| @@ -110,6 +110,7 @@ export default class DistributedConnection extends IStore { | ||||
|         this._register("ready"); | ||||
|         this._register("error"); | ||||
|         this._register("close"); | ||||
|         this._register("resumed"); | ||||
|  | ||||
|         if (server != null) | ||||
|         { | ||||
| @@ -907,8 +908,10 @@ export default class DistributedConnection extends IStore { | ||||
|  | ||||
|                             await this.fetch(id, null); | ||||
|  | ||||
|                             console.log("Restored " + id); | ||||
|                             // set active | ||||
|                             r._p.suspended = false; | ||||
|  | ||||
|                             console.log("Restored " + id); | ||||
|                         }  | ||||
|                     } | ||||
|                     catch (ex) | ||||
| @@ -932,6 +935,8 @@ export default class DistributedConnection extends IStore { | ||||
|             return false; | ||||
|         } | ||||
|  | ||||
|         this._emit("resumed", this); | ||||
|  | ||||
|         return true; | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user