MCPcopy Index your code
hub / github.com/socketio/socket.io / extend

Function extend

packages/socket.io/client-dist/socket.io.js:2654–2658  ·  view source on GitHub ↗
(namespace, delimiter)

Source from the content-addressed store, hash-verified

2652 return debug;
2653 }
2654 function extend(namespace, delimiter) {
2655 var newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);
2656 newDebug.log = this.log;
2657 return newDebug;
2658 }
2659
2660 /**
2661 * Enables a debug mode by namespaces. This can include modes

Callers

nothing calls this directly

Calls 1

createDebugFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…