MCPcopy
hub / github.com/partykit/partykit / fetch

Method fetch

packages/partykit/facade/source.ts:393–402  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

391 ai: PARTYKIT_AI,
392 assets: {
393 fetch(path: string) {
394 return assetsFetch(path, env, {
395 passThroughOnException() {
396 // no op
397 },
398 waitUntil(_promise: Promise<unknown>) {
399 // no op
400 }
401 });
402 }
403 },
404 bindings: getBindings(env)
405 },

Callers 7

fetchFunction · 0.45
socketFunction · 0.45
serverCountMethod · 0.45
server.tsFile · 0.45
onFetchFunction · 0.45
onRequestFunction · 0.45
onBeforeRequestMethod · 0.45

Calls 10

assetsFetchFunction · 0.85
initializeMethod · 0.80
assertFunction · 0.70
getMethod · 0.65
acceptMethod · 0.65
onRequestMethod · 0.45
getConnectionTagsMethod · 0.45
onConnectMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected