(value: AsyncConfirmationState | null)
| 129 | } |
| 130 | |
| 131 | const settle = (value: AsyncConfirmationState | null) => { |
| 132 | if (settled) return |
| 133 | settled = true |
| 134 | cleanup() |
| 135 | resolve(value) |
| 136 | } |
| 137 | |
| 138 | const onAbort = () => settle(null) |
| 139 |
no test coverage detected