How to update workflow memo in Typescript?

Hi!

My understanding of the memo is it’s an object that you can update during the workflow that when I do a client.workflow.list() will return the most recent memo data of each workflow it returns.

After looking through the documentation, samples and code in the temporalio/typescript-sdk repo, I can’t figure out how to actually update the memo. I see how you do it in the Go SDK, so I’m pretty sure there’s a way in the Typescript SDK, I just can’t find it.

How do you upsert the memo in the Typescript SDK from the workflow function?

This isn’t implemented in TypeScript yet, there’s an open issue for it: