(callback: () => void)
| 130 | } |
| 131 | |
| 132 | public onClose(callback: () => void) { |
| 133 | if (this.closeController.isClosed) { |
| 134 | throw new InvariantError( |
| 135 | 'Cannot call onClose on a WebNextResponse that is already closed' |
| 136 | ) |
| 137 | } |
| 138 | return this.closeController.onClose(callback) |
| 139 | } |
| 140 | } |
no outgoing calls
no test coverage detected