backgroundChildThreads
Variable: backgroundChildThreads
const backgroundChildThreads: {
addRunningAgent: (threadId: string, data: BackgroundAgentData, groupId?: string) => void;
checkForBackgroundAgentCompletion: () => BackgroundAgentCompletion[] | null;
checkForBackgroundGroupedAgentCompletion: () => BackgroundAgentCompletion | null;
getRunningAgentCount: () => number;
onBackgroundAgentCompletion: () => Promise<BackgroundAgentCompletion[] | null>;
onBackgroundGroupedAgentCompletion: () => Promise<BackgroundAgentCompletion | null>;
waitForAnyExternalEvent: () => Promise<BackgroundExternalEvent>;
};
Defined in: packages/codeboltjs/src/modules/backgroundChildThreads.ts:71
Background Child Threads module for tracking and managing background agent threads. This module provides APIs for tracking running background agents and their completion.