WorkflowClient.start - sync or async?

WorkflowClient.start is a blocking call or an async call ?

It blocks until the workflow is started. After this call returns there is a guarantee that it is stored in the Temporal service durably.

It is not going to block until the workflow completion.

Hi @maxim can you confirm that WorkflowClient.start actually waits till workflow is started OR it waits till workflow is queued ?

I am trying to profile the latency on this api call. Trying to see how long can this call take - order of ms or s ?

It blocks until the workflow is queued using your terminology

2 Likes