MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / cancel

Function cancel

apps/cloud/src/observability/memory-metrics.ts:237–243  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

235 closeConnection(connection, "normal", OTEL_MAX_SPAN_QUEUE_SIZE);
236 },
237 cancel(reason) {
238 closeConnection(
239 connection,
240 reason === undefined ? "cancel" : "error",
241 OTEL_MAX_SPAN_QUEUE_SIZE,
242 );
243 },
244 });
245
246 const body = response.body.pipeThrough(counting);

Callers

nothing calls this directly

Calls 1

closeConnectionFunction · 0.70

Tested by

no test coverage detected