()
| 8 | ): void { |
| 9 | useEffect(() => { |
| 10 | const f = () => { |
| 11 | if (hasConsoleBillingAccess()) { |
| 12 | process.stdout.write('\n' + formatTotalCost() + '\n') |
| 13 | } |
| 14 | |
| 15 | saveCurrentSessionCosts(getFpsMetrics?.()) |
| 16 | } |
| 17 | process.on('exit', f) |
| 18 | return () => { |
| 19 | process.off('exit', f) |
nothing calls this directly
no test coverage detected