src/longRunningCalls/longRunningApiCaller.ts
Properties |
Methods |
constructor(longrunningDescriptor: LongRunningDescriptor)
|
||||||||
Creates an API caller that performs polling on a long running operation.
Parameters :
|
longrunningDescriptor |
Type : LongRunningDescriptor
|
call | |||||||||||||||
call(apiCall: SimpleCallbackFunction, argument: literal type, settings: CallOptions, canceller: OngoingCallPromise)
|
|||||||||||||||
Parameters :
Returns :
void
|
fail | |||||||||
fail(canceller: OngoingCallPromise, err: GoogleError)
|
|||||||||
Parameters :
Returns :
void
|
init | |||||||||
init(settings: ApiCallerSettings, callback?: APICallback)
|
|||||||||
Parameters :
Returns :
OngoingCallPromise | OngoingCall
|
result | ||||||
result(canceller: OngoingCallPromise)
|
||||||
Parameters :
Returns :
any
|
wrap | ||||||
wrap(func: GRPCCall)
|
||||||
Parameters :
Returns :
GRPCCall
|