( duration: number, durationWithoutRetries: number, )
| 557 | } |
| 558 | |
| 559 | export function addToTotalDurationState( |
| 560 | duration: number, |
| 561 | durationWithoutRetries: number, |
| 562 | ): void { |
| 563 | STATE.totalAPIDuration += duration |
| 564 | STATE.totalAPIDurationWithoutRetries += durationWithoutRetries |
| 565 | } |
| 566 | |
| 567 | export function resetTotalDurationStateAndCost_FOR_TESTS_ONLY(): void { |
| 568 | STATE.totalAPIDuration = 0 |
no outgoing calls
no test coverage detected