qrisp.interface.Job.last_known_status#

property Job.last_known_status: JobStatus#

The most recently cached JobStatus for this job.

This value is initialised to INITIALIZING and is updated at the following points:

  • status(): every live query updates the cache as a side effect.

  • result(): transitions to DONE, CANCELLED, or ERROR when the job reaches a terminal state.

  • refresh(): explicitly fetches the live status and caches it (semantically identical to calling status(), but signals intent clearly when the sole purpose is to refresh the cache).