(innerType: string, innerOptions: any)
| 257 | }; |
| 258 | |
| 259 | const doFetch = (innerType: string, innerOptions: any) => { |
| 260 | doRequest(innerType as any, innerOptions) |
| 261 | ?.then((data: any) => { |
| 262 | fetchHandler(data, undefined); |
| 263 | }) |
| 264 | .catch((err: Error) => { |
| 265 | fetchHandler(undefined, err); |
| 266 | }); |
| 267 | }; |
| 268 | |
| 269 | this.dataSourceMap[id].status = DS_STATUS.LOADING; |
| 270 | doFetch(type, options); |
nothing calls this directly
no test coverage detected