()
| 60 | let handlersRegistered = false |
| 61 | |
| 62 | function getClient(): CloudWatchClient { |
| 63 | if (!client) { |
| 64 | client = new CloudWatchClient({ region: process.env.AWS_REGION || 'us-east-1' }) |
| 65 | } |
| 66 | return client |
| 67 | } |
| 68 | |
| 69 | function ensureBackground(): void { |
| 70 | if (timer) return |
no outgoing calls
no test coverage detected