Constructors
constructor
- new LroImpl(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: { httpMethod: string; path?: undefined | string; requestBody?: unknown } & Record<string, any>, requestPath?: string, requestMethod?: string): LroImpl
-
Parameters
-
sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>
-
- (args: any, spec: any): Promise<LroResponse<T>>
-
Parameters
Returns Promise<LroResponse<T>>
-
args: Record<string, unknown>
-
spec: { httpMethod: string; path?: undefined | string; requestBody?: unknown } & Record<string, any>
-
Default value requestPath: string = spec.path!
-
Default value requestMethod: string = spec.httpMethod
Properties
requestMethod
requestMethod: string
requestPath
requestPath: string
Methods
sendInitialRequest
- sendInitialRequest(): Promise<LroResponse<T>>
-
Returns Promise<LroResponse<T>>
sendPollRequest
- sendPollRequest(path: string): Promise<LroResponse<T>>
-
Parameters
Returns Promise<LroResponse<T>>