MCPcopy Create free account
hub / github.com/CloudBoost/cloudboost / waitForUpgrade

Function waitForUpgrade

sdk/src/CloudSocketClientLib.js:765–769  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

763 }
764
765 function waitForUpgrade() {
766 // wait for upgrade to finish since we can't send packets while pausing a transport
767 self.once('upgrade', cleanupAndClose);
768 self.once('upgradeError', cleanupAndClose);
769 }
770
771 return this;
772 };

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected