src/call.ts
Properties |
|
Methods |
constructor(PromiseCtor: PromiseConstructor)
|
||||||||
Defined in src/call.ts:110
|
||||||||
GaxPromise is GRPCCallbackWrapper, but it holds a promise when the API call finishes.
Parameters :
|
promise |
Type : CancellablePromise<ResultTuple>
|
Defined in src/call.ts:110
|
Optional callback |
Type : APICallback
|
Inherited from
OngoingCall
|
Defined in
OngoingCall:46
|
Optional cancelFunc |
Type : function
|
Inherited from
OngoingCall
|
Defined in
OngoingCall:47
|
completed |
Type : boolean
|
Inherited from
OngoingCall
|
Defined in
OngoingCall:48
|
call | ||||||||||||
call(func: SimpleCallbackFunction, argument: RequestType)
|
||||||||||||
Inherited from
OngoingCall
|
||||||||||||
Defined in
OngoingCall:92
|
||||||||||||
Call calls the specified function. Result will be used to fulfill the promise.
Parameters :
Returns :
void
|
cancel |
cancel()
|
Inherited from
OngoingCall
|
Defined in
OngoingCall:69
|
Cancels the ongoing promise.
Returns :
void
|