- Source:
Members
member
accepted
Gets if the goal response was accepted.
- Deprecated:
- use isAccepted()
- Source:
member
goalId
Gets the goal Id.
- Source:
member
stamp
Gets the goal response timestamp.
- Source:
member
status
Gets the goal status.
- Source:
member
status
Update status to the latest state of goal computation.
When status is in a final state it can not be revered to an
earlier state, e.g., can not change from SUCCEEDED to ACCEPTED.
- Source:
Methods
function
cancelGoal() → {Promise}
Send a cancel request for the goal.
- Source:
Returns:
- The cancel response.
Type
Promise
function
getResult() → {Promise}
Request the result for the goal.
- Source:
Returns:
- The result response.
Type
Promise
function
isAborted() → {bool}
Determine if goal has been aborted.
- Source:
Returns:
- True if goal was aborted; otherwise return false.
Type
bool
function
isAccepted() → {bool}
Determine if goal is currently executing
- Source:
Returns:
- True if goal is executing; otherwise return false.
Type
bool
function
isCanceled() → {bool}
Determine if goal has been canceled.
- Source:
Returns:
- True if goal has been aborted; otherwise return false.
Type
bool
function
isCanceling() → {bool}
Determine if goal is in the process of canceling.
- Source:
Returns:
- True if goal is canceling; otherwise return false.
Type
bool
function
isExecuting() → {bool}
Determine if goal is currently executing
- Source:
Returns:
- True if goal is executing; otherwise return false.
Type
bool
function
isSucceeded() → {bool}
Determine if goal completed successfullly.
- Source:
Returns:
- True if goal completed successfully; otherwise return false.
Type
bool