Is there a way to create a workflow and wait until it’s finished ? 🤔 what would be the most elegant

Is there a way to create a workflow and wait until it’s finished ? 🤔 what would be the most elegant way.

eg. I have a hono api. Then I wanna call a workflow and once it’s finished return the result.

Is polling via promise resolve the best ? 🤔
Was this page helpful?