(value: unknown)
| 39 | const MAX_STREAM_MS = 60 * 60 * 1000 |
| 40 | |
| 41 | function extractCanonicalRequestId(value: unknown): string { |
| 42 | return typeof value === 'string' && value.length > 0 ? value : '' |
| 43 | } |
| 44 | |
| 45 | function extractRunRequestId(run: { requestContext?: unknown } | null | undefined): string { |
| 46 | if (!run || typeof run.requestContext !== 'object' || run.requestContext === null) { |
no outgoing calls
no test coverage detected