I'm working on some code where a task has two result states:
- Complete | The task completed successfully - Failure | The task failed to complete successfully (no further attempts will be made)
The actual implementation has more to it than this, but it really comes down to success or failure.
I have a number of convenience methods for checking the state of the task, such as
I need one that essentially answers the question:
"Has the task reached a final state where it is no longer running and will not resume at any time in the future."
Or, in pseudocode:
isComplete() or isFailed()
I find myself having trouble choosing the final name for this method. All the candidates I've written down seem to hint towards a positive or negative outcome. They are:
I feel the latter three have the most potential here, but I welcome any suggestions.
Note: I have read Words for resulting task states in computing [closed], however it doesn't answer my question.
isComplete()as the answer to your question, along with