microsoft / durabletask-java

Java SDK for Durable Functions and the Durable Task Framework
MIT License
13 stars 7 forks source link

Add waitForCompletionOrCreateCheckStatusResponse client API #64

Closed cgillum closed 1 year ago

cgillum commented 2 years ago

Other languages support a client API that allows you to wait for an orchestration to complete and either a) return the output if it completes within the specified timeout or b) return an HTTP 202 response if the timeout expires. The first release of Java doesn't support this, although it's possible to implement manually.

More information on this feature can be found here.

This is an Azure Functions-specific API that will need to be made to the durabletask-azure-functions package.

Once the API exists, the documentation linked above will need to have its sample updated to reference it.