You can use the GetPendingOperation method to detect an operation on a node that is currently in progress. This method can also be used to report back when an operation has completed.
This method has no input parameters.
This method has the following return values:
Name | Description | Type |
---|---|---|
pending | Possible values:
|
boolean |
operation | Name of operation that is in progress or has completed. | string |
Requests for this method are similar to the following example:
{ "method": "GetPendingOperation", "params": {}, "id" : 1 }
This method returns a response similar to the following example:
{ "id" : 1, "result" : { "pendingOperation" : { "pending" : "true", "operation" : "TestDrivesInternal", } } }
9.6