You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The use case is to reset the workflow to a previous point and immediately sends a update request to update the state.
Currently, reset & update cannot be applied together. Update can happen milliseconds~second later after reset. There could be a race that when the code rely on the updated state after reset immediately, but the update request is not guaranteed to be applied atomically with reset, resulting in the reset-ed workflow execution continues with the "old" state.
Describe the solution you'd like
Provide a API, preferably something like ResetWithUpdate(...) to reset to a point of event with the update request fulfilled.
Describe alternatives you've considered
Using workflow.Await but the approach comes with extra flags to control the logic flow.
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Provide a API, preferably something like ResetWithUpdate(...) to reset to a point of event with the update request fulfilled.
Describe alternatives you've considered
Using workflow.Await but the approach comes with extra flags to control the logic flow.
Additional context
The text was updated successfully, but these errors were encountered: