gp.submitJob(params).then(function (jobInfo) {
var jobid = jobInfo.jobId;
var options = {interval: 3000, statusCallback:function (j) {console.log("Job Status: ", j.jobStatus);}};
gp.waitForJobCompletion(jobid, options).then(function () {
var reusltSet = gp.getResultData(jobid, "Viewshed_Result");
});
I am getting the resultSet to the below:
- cancel: ƒ (d,a)
- isCanceled: ƒ ()
- isFulfilled: ƒ ()
- isRejected: ƒ ()
- isResolved: ƒ ()
- then: ƒ (b,c,f)
Kindly request to know where is my output results.