src/call.ts
Properties |
|
Methods |
constructor(callback?: APICallback)
|
||||||||
Defined in src/call.ts:48
|
||||||||
OngoingCall manages callback, API calls, and cancellation of the API calls.
Parameters :
|
Optional callback |
Type : APICallback
|
Defined in src/call.ts:46
|
Optional cancelFunc |
Type : function
|
Defined in src/call.ts:47
|
completed |
Type : boolean
|
Defined in src/call.ts:48
|
call | ||||||||||||
call(func: SimpleCallbackFunction, argument: RequestType)
|
||||||||||||
Defined in src/call.ts:92
|
||||||||||||
Call calls the specified function. Result will be used to fulfill the promise.
Parameters :
Returns :
void
|
cancel |
cancel()
|
Defined in src/call.ts:69
|
Cancels the ongoing promise.
Returns :
void
|