MCPcopy
hub / github.com/triggerdotdev/trigger.dev / #doRunTask

Method #doRunTask

packages/trigger-sdk/src/io.ts:1458–1474  ·  view source on GitHub ↗
(task: RunTaskBodyInput)

Source from the content-addressed store, hash-verified

1456 }
1457
1458 async #doRunTask(task: RunTaskBodyInput) {
1459 try {
1460 return await this._apiClient.runTask(this._id, task, {
1461 cachedTasksCursor: this._cachedTasksCursor,
1462 });
1463 } catch (error) {
1464 if (error instanceof AutoYieldRateLimitError) {
1465 this._logger.debug("AutoYieldRateLimitError", {
1466 error,
1467 });
1468
1469 throw error;
1470 }
1471
1472 return;
1473 }
1474 }
1475
1476 async #doCompleteTask(id: string, task: CompleteTaskBodyV2Input) {
1477 try {

Callers 1

runTaskMethod · 0.95

Calls 2

debugMethod · 0.65
runTaskMethod · 0.45

Tested by

no test coverage detected