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