This sample shows the use of WorkflowStub.getResult and WorkflowStub.getResultAsync to show how the Temporal Client API can not only start Workflows async but also wait for their results async as well.
- Start the Worker:
./gradlew -q execute -PmainClass=io.temporal.samples.getresultsasync.Worker
- Start the Starter
./gradlew -q execute -PmainClass=io.temporal.samples.getresultsasync.Starter