Variable Synchronization

If a signal is used to add messages into a workflow variable(Map), should the variable be a ConcurrentHashmap? Wanted to know if the underlying actor framework would ensure thread safety.

Temporal SDK serializes execution of your workflow logic so you don’t have to worry about concurrency within your workflow code.

1 Like