Type alias SdkFunctionWrapper
SdkFunctionWrapper: (<T>(action: ((requestHeaders?: Record<string, string>) => Promise<T>), operationName: string, operationType?: string) => Promise<T>)
Type declaration
-
- <T>(action: ((requestHeaders?: Record<string, string>) => Promise<T>), operationName: string, operationType?: string): Promise<T>
-
Parameters
-
action: ((requestHeaders?: Record<string, string>) => Promise<T>)
-
- (requestHeaders?: Record<string, string>): Promise<T>
-
Parameters
-
Optional
requestHeaders: Record<string, string>
Returns Promise<T>
-
operationName: string
-
Optional
operationType: string
Returns Promise<T>