(
interceptors: Array<Interceptor<any>>,
handlers: Array<AnyHandler> | HandlersController,
)
| 55 | protected network: NetworkApi<[InterceptorSource]> |
| 56 | |
| 57 | constructor( |
| 58 | interceptors: Array<Interceptor<any>>, |
| 59 | handlers: Array<AnyHandler> | HandlersController, |
| 60 | ) { |
| 61 | this.network = defineNetwork({ |
| 62 | sources: [new InterceptorSource({ interceptors })], |
| 63 | handlers, |
| 64 | }) |
| 65 | } |
| 66 | |
| 67 | get events() { |
| 68 | return this.network.events |
nothing calls this directly
no test coverage detected