()
| 2281 | throw new TypeError(`invalid interceptor, expected function received ${typeof interceptor}`); |
| 2282 | } |
| 2283 | dispatch = interceptor(dispatch); |
| 2284 | if (dispatch == null || typeof dispatch !== "function" || dispatch.length !== 2) { |
| 2285 | throw new TypeError("invalid interceptor"); |
| 2286 | } |
| 2287 | } |
| 2288 | return new ComposedDispatcher(this, dispatch); |
nothing calls this directly
no outgoing calls
no test coverage detected