Spaces:
Sleeping
Sleeping
Download src/interfaces/core/IAggregationCounter.ts from lamsaoganh/teamta: direct link, hf CLI and curl.
- Browser
- Download file 761 Bytes
-
https://huggingface.co/spaces/lamsaoganh/teamta/resolve/main/src/interfaces/core/IAggregationCounter.ts
- Command line
-
hf download hf://spaces/lamsaoganh/teamta/src/interfaces/core/IAggregationCounter.ts
-
curl -L -o IAggregationCounter.ts https://huggingface.co/spaces/lamsaoganh/teamta/resolve/main/src/interfaces/core/IAggregationCounter.ts
761 Bytes
| import { AggregationCounterRef } from './IMessage'; | |
| export interface IAggregationCounter { | |
| _id?: string | null; | |
| requestId: string; | |
| stepId: string; | |
| aggregationKey: string; // requestId:stepId | |
| targetMessageType: string; | |
| expectedCount: number; | |
| currentCount: number; | |
| status: 'waiting' | 'ready' | 'processing' | 'completed' | 'failed'; | |
| createdAt: Date; | |
| updatedAt: Date; | |
| timeoutAt?: Date | null; | |
| parentResults?: any; // Results from previous step | |
| completedTaskMessageIds: string[]; // Danh sách _id của các task messages đã hoàn thành | |
| delayMs?: number; // Số milliseconds delay khi tạo target message | |
| targetMessageAggregationCounters?: AggregationCounterRef[]; // Aggregation counters cho target message | |
| } |