Kind: Class
Source: atloria-monorepo/packages/doc-automation/src/v2/utils/progress-tracker.ts
Methods
| Method | Signature | Returns |
|---|---|---|
startBatch | startBatch(batchIndex: number, itemsInBatch: number, additionalInfo: Record<string, unknown>) | number |
completeBatch | completeBatch(batchStartTime: number, itemsCompleted: number, additionalInfo: Record<string, unknown>) | ProgressStats |
completeItem | completeItem(itemStartTime: number, itemName: string, additionalInfo: Record<string, unknown>) | ProgressStats |
getStats | getStats() | ProgressStats |
complete | complete(additionalInfo: Record<string, unknown>) | void |
Where it refuses work
ProgressTrackerstops the work with an early return whenms < 1000.ProgressTrackerstops the work with an early return whenms < 60000.
Was this page helpful?