MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / cancelRun

Function cancelRun

packages/trigger-sdk/src/v3/runs.ts:66–74  ·  view source on GitHub ↗
(runId: string)

Source from the content-addressed store, hash-verified

64}
65
66function cancelRun(runId: string): ApiPromise<CanceledRunResponse> {
67 const apiClient = apiClientManager.client;
68
69 if (!apiClient) {
70 throw apiClientMissingError();
71 }
72
73 return apiClient.cancelRun(runId);
74}

Callers

nothing calls this directly

Calls 2

apiClientMissingErrorFunction · 0.90
cancelRunMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…