( duration: number, durationWithoutRetries: number, )
| 541 | } |
| 542 | |
| 543 | export function addToTotalDurationState( |
| 544 | duration: number, |
| 545 | durationWithoutRetries: number, |
| 546 | ): void { |
| 547 | STATE.totalAPIDuration += duration |
| 548 | STATE.totalAPIDurationWithoutRetries += durationWithoutRetries |
| 549 | } |
| 550 | |
| 551 | export function resetTotalDurationStateAndCost_FOR_TESTS_ONLY(): void { |
| 552 | STATE.totalAPIDuration = 0 |
no outgoing calls
no test coverage detected