MCPcopy Index your code
hub / github.com/coder/mux / requestReportedTaskCleanupRecheck

Method requestReportedTaskCleanupRecheck

src/node/services/taskService.ts:9015–9024  ·  view source on GitHub ↗
(workspaceId: string)

Source from the content-addressed store, hash-verified

9013 }
9014
9015 private requestReportedTaskCleanupRecheck(workspaceId: string): Promise<void> {
9016 assert(
9017 workspaceId.length > 0,
9018 "requestReportedTaskCleanupRecheck: workspaceId must be non-empty"
9019 );
9020
9021 return this.workspaceEventLocks.withLock(workspaceId, async () => {
9022 await this.cleanupReportedLeafTask(workspaceId);
9023 });
9024 }
9025
9026 private async requestReportedChildCleanupRechecks(parentWorkspaceId: string): Promise<void> {
9027 assert(

Calls 3

withLockMethod · 0.80
assertFunction · 0.50

Tested by

no test coverage detected