@internal
(options?: { details?: boolean; maxDepth?: number })
| 1287 | // ask for — after detaching the orphaned promise's rejection, so the |
| 1288 | // refusal does not also surface an unhandled-rejection warning later. |
| 1289 | if ( |
| 1290 | typeof (result as { then?: unknown } | undefined)?.then === 'function' |
| 1291 | ) { |
| 1292 | void Promise.resolve(result as PromiseLike<unknown>).then( |
| 1293 | undefined, |
| 1294 | () => {} |
nothing calls this directly
no outgoing calls
no test coverage detected