sdk-go
sdk-go copied to clipboard
Support seamless cleanup during session cancellation
Is your feature request related to a problem? Please describe. https://community.temporal.io/t/doing-cleanup-when-using-sessions/193
Describe the solution you'd like Cancellation of a workflow should allow executing some cleanup logic in a session without ugly workarounds.
Cleanup in session cannot finished correctly in cancellation of workflow, maybe we can set an option like "keep session info" when use 'NewDisconnectedContext', or export queue of sessionInfo to set queue manually