(
promise: Promise<unknown>,
_reason: PRContextRefreshReason,
)
| 340 | } |
| 341 | |
| 342 | private runDetached( |
| 343 | promise: Promise<unknown>, |
| 344 | _reason: PRContextRefreshReason, |
| 345 | ): void { |
| 346 | void promise.catch(() => { |
| 347 | // refresh() records the failure and broadcasts it; no extra logging hook |
| 348 | // exists in this shared module. |
| 349 | }); |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | function messageFromUnknown(cause: unknown): string { |
no outgoing calls
no test coverage detected