MCPcopy
hub / github.com/coder/mux / scheduleMaybeStartQueuedTasks

Method scheduleMaybeStartQueuedTasks

src/node/services/taskService.ts:2690–2694  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2688 }
2689
2690 private scheduleMaybeStartQueuedTasks(): void {
2691 void this.maybeStartQueuedTasks().catch((error: unknown) => {
2692 log.error("TaskService.maybeStartQueuedTasks failed", { error });
2693 });
2694 }
2695
2696 private async markTaskLaunchFailed(taskId: string, message: string): Promise<void> {
2697 assert(taskId.length > 0, "markTaskLaunchFailed requires taskId");

Callers 8

createManyMethod · 0.95
markTaskLaunchFailedMethod · 0.95
settleWorkspaceTurnMethod · 0.95
waitForAgentReportMethod · 0.95

Calls 1

maybeStartQueuedTasksMethod · 0.95

Tested by

no test coverage detected