()
| 2271 | throw new Error("not implemented"); |
| 2272 | } |
| 2273 | compose(...args) { |
| 2274 | const interceptors = Array.isArray(args[0]) ? args[0] : args; |
| 2275 | let dispatch = this.dispatch.bind(this); |
| 2276 | for (const interceptor of interceptors) { |
| 2277 | if (interceptor == null) { |
| 2278 | continue; |
| 2279 | } |
| 2280 | if (typeof interceptor !== "function") { |
| 2281 | throw new TypeError(`invalid interceptor, expected function received ${typeof interceptor}`); |
| 2282 | } |
nothing calls this directly
no outgoing calls
no test coverage detected