(request: Request, reason: string)
| 51 | } |
| 52 | |
| 53 | function createCancelHandler(request: Request, reason: string) { |
| 54 | return () => { |
| 55 | stopFlowing(request); |
| 56 | // eslint-disable-next-line react-internal/prod-error-codes |
| 57 | abort(request, new Error(reason)); |
| 58 | }; |
| 59 | } |
| 60 | |
| 61 | type NonceOption = |
| 62 | | string |
no test coverage detected