Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make startUpdate users aware that it's synchronous w/ worker #2045

Closed
drewhoskins-temporal opened this issue Apr 25, 2024 · 0 comments · Fixed by #2088
Closed

Make startUpdate users aware that it's synchronous w/ worker #2045

drewhoskins-temporal opened this issue Apr 25, 2024 · 0 comments · Fixed by #2088
Labels
enhancement User experience

Comments

@drewhoskins-temporal
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
temporalio/features#469

Describe the solution you'd like
A clear and concise description of what you want to happen.
Related to

/**
* Asynchronously update a workflow execution by invoking its update handler and returning a
* handle to the update request. Usually a update handler is a method annotated with {@link
* io.temporal.workflow.UpdateMethod}.
*
* @param updateName name of the update handler. Usually it is a method name.
* @param resultClass class of the update return value
* @param <R> type of the update return value
* @param args update method arguments
* @return update handle that can be used to get the result of the update.
*/
@Experimental
<R> UpdateHandle<R> startUpdate(String updateName, Class<R> resultClass, Object... args);

Developers should be informed about and opt in to behavior that startWorkflow waits for acceptance

Describe alternatives you've considered

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement User experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant