MCPcopy Create free account
hub / github.com/devspace-sh/devspace / _sendData

Method _sendData

ui/src/lib/attach.ts:65–72  ·  view source on GitHub ↗
(data: string)

Source from the content-addressed store, hash-verified

63 }
64
65 private _sendData(data: string): void {
66 // TODO: do something better than just swallowing
67 // the data if the socket is not in a working condition
68 if (this._socket.readyState !== 1) {
69 return;
70 }
71 this._socket.send(data);
72 }
73}
74
75function addSocketListener<K extends keyof WebSocketEventMap>(

Callers 1

activateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected