ray.workflow.get_output_async#

ray.workflow.get_output_async(workflow_id: str, *, task_id: str | None = None) ray._raylet.ObjectRef[source]#

Get the output of a running workflow asynchronously.

Parameters:
  • workflow_id – The workflow to get the output of.

  • task_id – If set, fetch the specific task output instead of the output of the workflow.

Returns:

An object reference that can be used to retrieve the workflow task result.

PublicAPI (alpha): This API is in alpha and may change before becoming stable.