Fixes #1960: z_getoperationstatus/result now includes operation details.

This commit is contained in:
Simon
2017-01-07 07:41:42 -08:00
parent 57a0725ae1
commit 8aa7937d44
6 changed files with 45 additions and 5 deletions

View File

@@ -89,6 +89,10 @@ Asynchronous calls return an OperationStatus object which is a JSON object with
* code : number
* message: error message
Depending on the type of asynchronous call, there may be other key-value pairs. For example, a z_sendmany operation will also include the following in an OperationStatus object:
* params : an object containing the parameters to z_sendmany
Currently, as soon as you retrieve the operation status for an operation which has finished, that is it has either succeeded, failed, or been cancelled, the operation and any associated information is removed.
It is currently not possible to cancel operations.