Open
Description
Hey again @ctrlplusb, I was wondering if you think there should be a way for a job to run only once on the server (and not again on the client). Testing with some pages, I realized that for search engines, I was getting the LoadingComponent even when the job was completed on the server. It seems that code does get into withJob
and the jobState.completed
is not set to true on the client. So, it needs one additional pass to process some custom logic that I provided in the workDefinition
to ensure that the jobState
is considered complete
.
Thoughts on if it would be possible to remember jobState
from the server when evaluating the work
on client?