MCPcopy
hub / github.com/partykit/partykit / set

Method set

packages/partykit/facade/connection.ts:51–54  ·  view source on GitHub ↗
(ws: WebSocket, attachment: ConnectionAttachments)

Source from the content-addressed store, hash-verified

49 }
50
51 set(ws: WebSocket, attachment: ConnectionAttachments) {
52 this._cache.set(ws, attachment);
53 WebSocket.prototype.serializeAttachment.call(ws, attachment);
54 }
55}
56
57const attachments = new AttachmentCache();

Callers 15

getYDocFunction · 0.80
onConnectFunction · 0.80
levelGetFunction · 0.80
groupByFunction · 0.80
getLevelBulkDataFunction · 0.80
handleChunkedFunction · 0.80
getMethod · 0.80
createLazyConnectionFunction · 0.80
acceptMethod · 0.80
deployFunction · 0.80
infoFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected