I'm writing an application where, given a job ID, I want to check whether a job has completed or not. The obvious way would to get the job and check its state, but I noticed that the property is called _state which usually indicates a private property, so I'm thinking maybe I'm doing something wrong?
I'm writing an application where, given a job ID, I want to check whether a job has completed or not. The obvious way would to get the job and check its state, but I noticed that the property is called
_state
which usually indicates a private property, so I'm thinking maybe I'm doing something wrong?