Function createRequestFunction
- createRequestFunction(requestInstance: any, serviceConfig: Omit<ServiceConfig, "method"> & {
method: SupportedRequestMethods;
}): (<Params, ResultType>(...args: Params) => Promise<ResultType>)
-
Returns (<Params, ResultType>(...args: Params) => Promise<ResultType>)
-
- <Params, ResultType>(...args: Params): Promise<ResultType>
-
Type Parameters
-
Params extends any[] = any[]
-
ResultType = any
Returns Promise<ResultType>
创建请求函数