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

Function freezeTransport

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

Source from the content-addressed store, hash-verified

434 }
435
436 function freezeTransport() {
437 if (failed)
438 return;
439
440 // Any callback called by transport should be ignored since now
441 failed = true;
442
443 cleanup();
444
445 transport.close();
446 transport = null;
447 }
448
449 //Handle any error that happens while probing
450 function onerror(err) {

Callers 2

onerrorFunction · 0.70
onupgradeFunction · 0.70

Calls 1

cleanupFunction · 0.70

Tested by

no test coverage detected