Fixed
Status Update
Comments
ra...@google.com <ra...@google.com> #2
`Retry` is a signal that you want us to treat the Worker as ENQUEUED and backed off.
This is something you can do from inside a Worker using getRunAttemptCount() or keep track of this on your own.
This is something you can do from inside a Worker using getRunAttemptCount() or keep track of this on your own.
su...@google.com <su...@google.com> #3
While we can't expose "RETRY" because it's not a WorkInfo.State, what we can do is expose the runAttemptCount so you can figure out it's being retried.
sa...@gmail.com <sa...@gmail.com> #4
Great, being able to access 'runAttemptCount' from outside the Worker would allow me to handle the same thing very easily. I appreciate you entertaining my request.
Description