MCPcopy
hub / github.com/socketio/socket.io / success

Function success

packages/socket.io-client/test/support/util.ts:29–32  ·  view source on GitHub ↗
(done, socket)

Source from the content-addressed store, hash-verified

27}
28
29export function success(done, socket) {
30 socket.disconnect();
31 done();
32}
33
34/**
35 * URL of the Socket.IO server used in the tests (see "test/support/server.ts")

Callers 2

socket.tsFile · 0.90
retry.tsFile · 0.90

Calls 2

doneFunction · 0.85
disconnectMethod · 0.45

Tested by

no test coverage detected