Is there some realiable way to check if worker is avilable to be retrieved via stub and invoked? See

Is there some realiable way to check if worker is avilable to be retrieved via stub and invoked? Seems like if I to deploy new worker (upload), and right away call dispatcher get on it to invoke it (fetch), I get gateway timeout. But if i wait few seconds before invoking fetch, it seems to work more reliably.
Was this page helpful?