code: def test_get_output_5(workflow_start_regular, tmp_path):
      """Test getting output of a workflow task immediately after executing it
      asynchronously."""
  
      @ray.remote
      def simple():
          return 314
  
      workflow_id = "test_get_output_5_{}"
  
      outputs = []
      for i in range(20):
          workflow.run_async(
              simple.bind(), workflow_id=workflow_id.format(i)
          )
          outputs.append(
              workflow.get_output_async(workflow_id.format(i))
          )
  
      assert ray.get(outputs) == [314] * len(outputs)
  
file_path: ray/python/ray/workflow/tests/test_basic_workflows_2.py
imports: import pytest
  import ray
  from filelock import FileLock
  from ray._private.test_utils import SignalActor
  from ray import workflow
  from ray.tests.conftest import *
  from ray._private.test_utils import skip_flaky_core_test_premerge
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_output_5(workflow_start_regular, tmp_path) and returns: int