Skip to content

Conversation

@cretz
Copy link
Member

@cretz cretz commented Jun 6, 2024

What was changed

  • Added Temporalio.Workflows.WorkflowUpdateInfo, similar to Temporalio.Workflows.WorkflowInfo, with workflow-accessible information for an update (currently Id and Name)
  • Added Temporalio.Workflows.Workflow.CurrentUpdateInfo, similar to Temporalio.Workflows.Workflow.Info, with the current in-context update info
    • This uses AsyncLocal so it works inside the handler and tasks it starts but nowhere else

Checklist

  1. Closes Expose UpdateID in an update handler #265

@cretz cretz requested a review from a team June 6, 2024 20:13
@cretz cretz merged commit c299cec into temporalio:main Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose UpdateID in an update handler

2 participants