MCPcopy
hub / github.com/PokemonGoF/PokemonGo-Bot / onclose

Function onclose

map-chat/javascript/browserMqtt.js:1245–1248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1243 };
1244
1245 var onclose = function() {
1246 if (readable && !(rs && rs.ended)) return callback(new Error('premature close'));
1247 if (writable && !(ws && ws.ended)) return callback(new Error('premature close'));
1248 };
1249
1250 var onrequest = function() {
1251 stream.req.on('finish', onfinish);

Callers

nothing calls this directly

Calls 1

unpipeFunction · 0.85

Tested by

no test coverage detected